about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-01-14 12:40:32 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-01-14 12:40:32 +0100
commit5c7fa8809cc85709fa32a729bbe4accbbe9e431f (patch)
tree0f41796eba174ed9fe5b6689aea3ea277107ba05 /machines
parent490ef54f1da87a43b3676a19e67fdf218d8494a0 (diff)
machines/tyree: Refine and fix nix options
We actually have 4 cores in this machine, so let's raise maxJobs to 4,
as I had in the original hardware-configuration.nix.

While at it, using buildCores = 0 should get us more parallelism, which
is especially useful for recompiling kernels ;-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/managed/tyree.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/machines/aszlig/managed/tyree.nix b/machines/aszlig/managed/tyree.nix
index afe81b74..4711fd40 100644
--- a/machines/aszlig/managed/tyree.nix
+++ b/machines/aszlig/managed/tyree.nix
@@ -44,8 +44,10 @@
   networking.wireless.enable = true;
   networking.useNetworkd = true;
 
-  nix.maxJobs = 1;
+  nix.maxJobs = 4;
   nix.useChroot = true;
+  nix.readOnlyStore = true;
+  nix.buildCores = 0;
   nix.extraOptions = ''
     auto-optimise-store = true
   '';