diff options
-rw-r--r-- | nixos/machine/ridcully.nix | 3 | ||||
-rw-r--r-- | nixos/modules/compile.nix | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/nixos/machine/ridcully.nix b/nixos/machine/ridcully.nix index da95cd4..a9e3a42 100644 --- a/nixos/machine/ridcully.nix +++ b/nixos/machine/ridcully.nix @@ -65,5 +65,8 @@ with lib; { dataDir = "/home/cynerd"; configDir = "/home/cynerd/.config/syncthing"; }; + + # Force nix to use less jobs + nix.settings.max-jobs = 8; }; } diff --git a/nixos/modules/compile.nix b/nixos/modules/compile.nix index 18ff6f5..929b373 100644 --- a/nixos/modules/compile.nix +++ b/nixos/modules/compile.nix @@ -15,7 +15,7 @@ with lib; { config = mkIf config.cynerd.compile { nix.settings = { - max-jobs = 32; + max-jobs = mkDefault 32; cores = 0; }; |