refactor: correct Nix installation command to use 'sh install' for proper execution
All checks were successful
Nix Format Check / check-format (push) Successful in 39s

This commit is contained in:
Menno van Leeuwen 2025-01-22 15:55:44 +01:00
parent 195371b9bf
commit 46afabbae7
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -136,7 +136,7 @@ install_nix() {
fi
log_info "Nix not detected, installing Nix..."
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh || die "Failed to install Nix"
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh install || die "Failed to install Nix"
log_success "Nix has been installed. Please open a new shell and re-run the script."
log_info "'~/dotfiles/setup.sh --continue' to continue setup."