diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-19 15:22:53 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-19 15:22:53 -0600 |
| commit | 7fc4bb05905697e6a43fa3805da45768ea9a9858 (patch) | |
| tree | 8d2857bb18ea5808f254e663f6da654313ab94b1 /modules/boot/nixos | |
| parent | 5a5b183373c3732d96bb834b3ba0fcf2e88e590f (diff) | |
| parent | cdad26dfda64e94d19db576e93793ded9434bd09 (diff) | |
merge from main
Diffstat (limited to 'modules/boot/nixos')
| -rw-r--r-- | modules/boot/nixos/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/boot/nixos/default.nix b/modules/boot/nixos/default.nix index 66f31fc..06e68c3 100644 --- a/modules/boot/nixos/default.nix +++ b/modules/boot/nixos/default.nix @@ -24,7 +24,7 @@ in { configurationLimit = 3; }; efi.canTouchEfiVariables = true; - timeout = 0; + timeout = 0; # hold space to show boot menu }; } // (lib.optionalAttrs cfg.secureBoot.enable { @@ -34,5 +34,11 @@ in { }; }); - environment.systemPackages = lib.mkIf cfg.secureBoot.enable [pkgs.sbctl]; + environment.systemPackages = + ( + if cfg.secureBoot.enable + then [pkgs.sbctl] + else [] + ) + ++ [pkgs.efibootmgr]; } |
