summaryrefslogtreecommitdiff
path: root/hooks/pre-up/nix
blob: 84c077e03dcdbf72e025e6df1956ede5534832bc (plain)
1
2
3
4
5
6
#!/bin/bash

if ! [ -x "$(command -v nix)" ]; then
   sh <(curl -L https://nixos.org/nix/install) --no-daemon
fi