diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 17:03:20 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 17:14:14 +0000 |
| commit | 82ec91b4d2c253c6ccb783f960a2788f230d6ad1 (patch) | |
| tree | 94dad925340787e5a045d9bb0d094f71dedce036 /modules/boot/system | |
| parent | cfe198ee85f3c5ee41f4221f49b73dd492b42fdc (diff) | |
start avoiding lib.enum; start using hjem generators
Diffstat (limited to 'modules/boot/system')
| -rw-r--r-- | modules/boot/system/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/boot/system/default.nix b/modules/boot/system/default.nix index e32601c..53f18be 100644 --- a/modules/boot/system/default.nix +++ b/modules/boot/system/default.nix @@ -17,11 +17,10 @@ in { systemd.enable = true; }; loader = { - systemd-boot = lib.optionalAttrs (cfg.bootloader == "systemd-boot" && !cfg.secureBoot.enable) { + systemd-boot = lib.optionalAttrs (cfg.systemd-boot.enable && !cfg.secureBoot.enable) { enable = true; configurationLimit = 3; }; - grub = lib.optionalAttrs (cfg.bootloader == "grub") {enable = true;}; efi.canTouchEfiVariables = true; timeout = 0; }; |
