From bd449f23174c653e9989c277a331e5dd6bff0ba9 Mon Sep 17 00:00:00 2001 From: smayzy Date: Sun, 29 Jun 2025 21:22:32 +0200 Subject: [PATCH] I ain't got a clue the Fuck I'm doing --- hosts/laptop1/configuration.nix | 1 + modules/nix/grub.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/laptop1/configuration.nix b/hosts/laptop1/configuration.nix index 4897be6..8f2abc8 100644 --- a/hosts/laptop1/configuration.nix +++ b/hosts/laptop1/configuration.nix @@ -8,6 +8,7 @@ ]; boot.loader.grub.efiInstallAsRemovable = true; + boot.loader.efi.canTouchEfiVariables = false; home-manager = { extraSpecialArgs = { inherit inputs; }; diff --git a/modules/nix/grub.nix b/modules/nix/grub.nix index e623aee..7d4dc7c 100644 --- a/modules/nix/grub.nix +++ b/modules/nix/grub.nix @@ -4,5 +4,5 @@ boot.loader.grub.enable = true; boot.loader.grub.efiSupport = true; boot.loader.grub.device = "nodev"; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader.efi.canTouchEfiVariables.default = true; }