From c79f9f40c3f0a161348b7da5641058230c25731c Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Fri, 18 Oct 2024 15:30:34 +0000 Subject: [PATCH] refactor: move non-kernel-related options --- configuration.nix | 1 + kernel.nix | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3b1db4b..5bfc501 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,6 +11,7 @@ pkgs.linux-firmware (pkgs.callPackage ./pkgs/t14s-firmware.nix { }) ]; + boot.loader.efi.canTouchEfiVariables = false; boot.loader.systemd-boot = { enable = true; extraFiles = { diff --git a/kernel.nix b/kernel.nix index 4fd5b36..4961820 100644 --- a/kernel.nix +++ b/kernel.nix @@ -106,10 +106,5 @@ in { enableTpm2 = false; }; }; - - loader = { - systemd-boot.enable = lib.mkForce true; - efi.canTouchEfiVariables = false; - }; }; }