From 234d806765e013365559a41474773c007af0d3b2 Mon Sep 17 00:00:00 2001 From: Tim Dysinger Date: Tue, 7 Sep 2021 07:51:42 -0700 Subject: [PATCH] "daemon-user-count 4" isn't enough on big boxes Install enough nixbld daemon users so that max-jobs = auto isn't a problem on a 16+ core box --- lib/install-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index d4a3b9a..d371096 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -22,7 +22,7 @@ fi # Nix installer flags installer_options=( --daemon - --daemon-user-count 4 + --daemon-user-count `nproc` --no-channel-add --darwin-use-unencrypted-nix-store-volume --nix-extra-conf-file /tmp/nix.conf