nixos,boot: mkOption -> mkEnableOption

This commit is contained in:
Guanran Wang 2023-11-09 12:10:46 +08:00
parent dd84a0850b
commit 96f5d82a5d
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -6,18 +6,8 @@
options = { options = {
myFlake.nixos = { myFlake.nixos = {
boot = { boot = {
silentBoot = lib.mkOption { silentBoot = lib.mkEnableOption "Enable silent boot";
type = lib.types.bool; noLoaderMenu = lib.mkEnableOption "Disable bootloader menu";
default = false;
example = true;
description = "Enable silent boot";
};
noLoaderMenu = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Disable bootloader menu";
};
}; };
}; };
}; };