From 82ec91b4d2c253c6ccb783f960a2788f230d6ad1 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 8 Jul 2025 17:03:20 +0000 Subject: start avoiding lib.enum; start using hjem generators --- modules/boot/system/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/boot/system') 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; }; -- cgit v1.3.1