From: Preston Pan Date: Mon, 22 Sep 2025 03:40:44 +0000 (-0700) Subject: fix secureboot again X-Git-Url: https://ret2pop.net/gitweb/%22../%22https:/polyfill.io/%22/index.html/static/git-logo.png?a=commitdiff_plain;p=monorepo.git fix secureboot again --- 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); };