diff options
| -rw-r--r-- | nixos/services.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/services.nix b/nixos/services.nix index f8baf85..908913c 100644 --- a/nixos/services.nix +++ b/nixos/services.nix @@ -18,6 +18,10 @@ before = lib.mkIf config.nix.gc.automatic [ "nix-gc.service" ]; wantedBy = lib.mkIf config.nix.gc.automatic [ "nix-gc.service" ]; }; + + nixos-upgrade.unitConfig = { + CPUWeight = 1; + }; }; # virtualisation.docker.enable = true; |
