Update install.sh
This commit is contained in:
11
install.sh
11
install.sh
@@ -68,8 +68,17 @@ if ! command -v xz &> /dev/null; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install yq (required for config and templates)
|
||||
info "Installing yq..."
|
||||
if ! curl -sSL -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64; then
|
||||
echo "Error: Failed to download yq." >&2
|
||||
exit 1
|
||||
else
|
||||
chmod +x /usr/local/bin/yq
|
||||
fi
|
||||
|
||||
# Download and run the Nix installer (multi-user mode with daemon)
|
||||
curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install | sh -s -- --daemon
|
||||
curl --proto '=https' --tlsv1.2 -sSL https://nixos.org/nix/install | sh -s -- --daemon
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user