server-debian/_installs/nix.sh

9 lines
142 B
Bash
Executable File

#!/usr/bin/env zsh
sudo mkdir /nix
sudo chown $USER:$USER /nix
sudo chmod g+s /nix
sh <(curl -L https://nixos.org/nix/install) --no-daemon