summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-04-06 13:26:26 +0200
committerAlan Pearce2018-04-06 13:26:26 +0200
commit0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df (patch)
treea2c23b62b3dcdd7927025b46562220f446b4f855 /modules
parent9a33bb7c6c9d33d223875f45155c8646e371539c (diff)
downloadnixos-configuration-0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df.tar.lz
nixos-configuration-0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df.tar.zst
nixos-configuration-0c99ea7bd9a3aee99b732d5a49a7bb7f183bd2df.zip
Slow down background updates
Diffstat (limited to 'modules')
-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 e20a6fc..75c3486 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 ''