diff --git a/nixos/boot/boot.nix b/nixos/boot/boot.nix index 1ddafe6..37c7f47 100755 --- a/nixos/boot/boot.nix +++ b/nixos/boot/boot.nix @@ -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"; }; }; };