diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-01-14 12:40:32 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-01-14 12:40:32 +0100 |
commit | 5c7fa8809cc85709fa32a729bbe4accbbe9e431f (patch) | |
tree | 0f41796eba174ed9fe5b6689aea3ea277107ba05 /machines/aszlig/managed | |
parent | 490ef54f1da87a43b3676a19e67fdf218d8494a0 (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/aszlig/managed')
-rw-r--r-- | machines/aszlig/managed/tyree.nix | 4 |
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 ''; |