From 5c7fa8809cc85709fa32a729bbe4accbbe9e431f Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 14 Jan 2016 12:40:32 +0100 Subject: 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 --- machines/aszlig/managed/tyree.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'machines/aszlig') 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 ''; -- cgit 1.4.1