blob: 945bf4886e9b0baa72149280dd09ce4299d5f999 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/mksh
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
|