Skip to content

Commit

Permalink
Don't fall back to single user installation on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Aug 25, 2021
1 parent 2fc50b7 commit 7dec977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7dec977

Please sign in to comment.