diff --git a/lib/install-nix.sh b/lib/install-nix.sh index 82b50f3..31304ee 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -30,7 +30,7 @@ installer_options=( if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then installer_options+=( --daemon - --daemon-user-count 4 + --daemon-user-count `python -c 'import multiprocessing as mp; print(mp.cpu_count() * 2)'` ) else # "fix" the following error when running nix*