aboutsummaryrefslogtreecommitdiff
path: root/modules/boot/system/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/boot/system/default.nix')
-rw-r--r--modules/boot/system/default.nix3
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;
};