summaryrefslogtreecommitdiffstats
path: root/modules/wu/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-06-30 00:06:15 +0200
committertv <tv@krebsco.de>2015-06-30 00:06:15 +0200
commit7791841326335a079154151f7e7f439816015e93 (patch)
tree024a570e4ca91d5f7bf56e7a0fe163213efab20a /modules/wu/default.nix
parent22412c7d1a9a7a8791b820c2a1be94f009439447 (diff)
host wu: be nice and use all cores
Diffstat (limited to 'modules/wu/default.nix')
-rw-r--r--modules/wu/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/wu/default.nix b/modules/wu/default.nix
index 54b8587..37bf758 100644
--- a/modules/wu/default.nix
+++ b/modules/wu/default.nix
@@ -56,7 +56,12 @@ in
}
];
- nix.maxJobs = 8;
+ nix = {
+ buildCores = 4;
+ maxJobs = 4;
+ daemonIONiceLevel = 1;
+ daemonNiceLevel = 1;
+ };
nixpkgs = {
url = "https://github.com/NixOS/nixpkgs";