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 = {
|
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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue