diff --git a/machines/Packard-Server/default.nix b/machines/Packard-Server/default.nix index 4b18613..e5a79f8 100644 --- a/machines/Packard-Server/default.nix +++ b/machines/Packard-Server/default.nix @@ -34,6 +34,5 @@ boot.loader = { timeout = lib.mkForce 4; systemd-boot.enable = true; - efi.canTouchEfiVariables = true; }; } diff --git a/profiles/nix/default.nix b/profiles/nix/default.nix index bee94a8..e28b0d7 100644 --- a/profiles/nix/default.nix +++ b/profiles/nix/default.nix @@ -21,9 +21,11 @@ autoOptimiseStore = false; - package = inputs.nix.defaultPackage.${pkgs.system}.overrideAttrs (oa: { - patches = [ ./nix.patch ] ++ oa.patches or [ ]; - }); + package = if !config.deviceSpecific.isServer then + inputs.nix.defaultPackage.${pkgs.system}.overrideAttrs (oa: { + patches = [ ./nix.patch ] ++ oa.patches or [ ]; + }) + else pkgs.nixStable; extraOptions = '' experimental-features = nix-command flakes