nixos,boot: mkOption -> mkEnableOption
This commit is contained in:
parent
dd84a0850b
commit
96f5d82a5d
1 changed files with 2 additions and 12 deletions
|
@ -6,18 +6,8 @@
|
|||
options = {
|
||||
myFlake.nixos = {
|
||||
boot = {
|
||||
silentBoot = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Enable silent boot";
|
||||
};
|
||||
noLoaderMenu = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
description = "Disable bootloader menu";
|
||||
};
|
||||
silentBoot = lib.mkEnableOption "Enable silent boot";
|
||||
noLoaderMenu = lib.mkEnableOption "Disable bootloader menu";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue