blob: 0a457ee0027da13ebea07df165333c6cde1d82fe (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
if ! [ -x "$(command -v nix)" ]; then
echo "Installing Nix"
sudo install -d -m755 -o $(id -u) -g $(id -g) /nix
curl -L https://nixos.org/nix/install | sh
nix profile install nixpkgs#nix-direnv
fi
|