File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ install_nix() {
2222 fi
2323
2424 echo " Installing Nix..."
25- # Try Determinate Systems installer first
26- if ! curl --proto ' =https' --tlsv1.2 -L https://install.determinate.systems /nix | sh -s -- install --determinate --no-confirm ; then
27- # Fallback to official installer
28- if ! curl --proto ' =https' --tlsv1.2 -L https://nixos.org/nix/install | sh -s -- --extra-conf " experimental-features = nix-command flakes" ; then
25+ # Try official installer with multi-user mode first
26+ if ! curl --proto ' =https' --tlsv1.2 -L https://nixos.org /nix/install | sh -s -- --daemon --yes --nix-extra-conf-file <( echo " experimental-features = nix-command flakes " ) ; then
27+ # Fallback to single-user mode
28+ if ! curl --proto ' =https' --tlsv1.2 -L https://nixos.org/nix/install | sh -s -- --no-daemon --yes --nix- extra-conf-file <( echo " experimental-features = nix-command flakes" ) ; then
2929 die " Nix installation failed"
3030 fi
3131 fi
You can’t perform that action at this time.
0 commit comments