From 162aea6283b357abc7b21f9f205a4e2e44c03bf6 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Wed, 25 Nov 2020 21:52:48 +0100 Subject: [PATCH] profiles/common: use all cores for build jobs --- nix/os/profiles/common/system.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/os/profiles/common/system.nix b/nix/os/profiles/common/system.nix index 91b7ce7..6256dff 100644 --- a/nix/os/profiles/common/system.nix +++ b/nix/os/profiles/common/system.nix @@ -19,8 +19,8 @@ nix.daemonNiceLevel = lib.mkDefault 19; nix.daemonIONiceLevel = lib.mkDefault 7; - nix.maxJobs = lib.mkDefault 3; - nix.buildCores = lib.mkDefault 3; + nix.maxJobs = lib.mkDefault "auto"; + nix.buildCores = lib.mkDefault 0; nix.useSandbox = true; environment.etc."lvm/lvm.conf".text = ''