Switch to DS NIX Installer

This commit is contained in:
2024-10-23 14:38:39 +01:00
parent b433408ceb
commit 430395f795

View File

@@ -11,8 +11,7 @@ fi
if ! nix --version &>/dev/null; then if ! nix --version &>/dev/null; then
echo "[E] Nix not found." echo "[E] Nix not found."
echo "[+] Installing the Nix package manager..." echo "[+] Installing the Nix package manager..."
sh <(curl -L https://nixos.org/nix/install) curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
echo "[I] Installed Nix." echo "[I] Installed Nix."
fi fi