summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/nix.org2
-rw-r--r--nix/modules/configuration.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/nix.org b/config/nix.org
index c256b8e..a214516 100644
--- a/config/nix.org
+++ b/config/nix.org
@@ -1378,7 +1378,7 @@ because they enhance security.
};
loader = {
- systemd-boot.enable = lib.mkForce (! config.monorepo.profiles.grub.enable);
+ systemd-boot.enable = lib.mkForce ((! config.monorepo.profiles.grub.enable) || (! config.monorepo.profiles.secureBoot.enable));
efi.canTouchEfiVariables = lib.mkForce (! config.monorepo.profiles.grub.enable);
};
diff --git a/nix/modules/configuration.nix b/nix/modules/configuration.nix
index bf73117..9ecf291 100644
--- a/nix/modules/configuration.nix
+++ b/nix/modules/configuration.nix
@@ -87,7 +87,7 @@
};
loader = {
- systemd-boot.enable = lib.mkForce (! config.monorepo.profiles.grub.enable);
+ systemd-boot.enable = lib.mkForce ((! config.monorepo.profiles.grub.enable) || (! config.monorepo.profiles.secureBoot.enable));
efi.canTouchEfiVariables = lib.mkForce (! config.monorepo.profiles.grub.enable);
};