summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-04-06 13:26:26 +0200
committerAlan Pearce2018-04-06 13:26:26 +0200
commit0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df (patch)
treea2c23b62b3dcdd7927025b46562220f446b4f855
parent9a33bb7c6c9d33d223875f45155c8646e371539c (diff)
downloadnixfiles-0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df.tar.lz
nixfiles-0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df.tar.zst
nixfiles-0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df.zip
Slow down background updates
-rw-r--r--modules/configuration/nix.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/configuration/nix.nix b/modules/configuration/nix.nix
index e20a6fcb..75c3486d 100644
--- a/modules/configuration/nix.nix
+++ b/modules/configuration/nix.nix
@@ -23,6 +23,7 @@
 
   system.autoUpgrade = {
     enable = true;
+    flags = [ "--max-jobs" "2" ];
   };
   systemd.services.nixos-upgrade = {
     script = pkgs.lib.mkForce ''