Don't fall back to single user installation on darwin

This commit is contained in:
Sandro 2021-08-25 19:15:46 +02:00 committed by GitHub
parent 2fc50b7dbd
commit 7dec9775e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,8 +26,8 @@ installer_options=(
--nix-extra-conf-file /tmp/nix.conf
)
# only use the nix-daemon if systemd is supported
if [[ -e /run/systemd/system ]]; then
# only use the nix-daemon settings if on darwin (which get ignored) or systemd is supported
if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
installer_options+=(
--daemon
--daemon-user-count 4