From 3b66cd122b7e78a1a51ee8ebdd670e5b11ac63e3 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 21 Sep 2025 20:40:44 -0700 Subject: [PATCH] fix secureboot again --- config/nix.org | 2 +- nix/modules/configuration.nix | 2 +- 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); }; -- 2.50.1