diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-09 21:39:08 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-09 21:39:08 -0500 |
commit | 58949be954b631e8a6db3a0f14882ac5050d2fb1 (patch) | |
tree | f8a7996f14711121349e01e3a94c80db218e7520 /hooks | |
parent | 3d7208853d0f7dfdee4c0aa26a65557414aea96f (diff) | |
download | rcm-58949be954b631e8a6db3a0f14882ac5050d2fb1.tar.gz rcm-58949be954b631e8a6db3a0f14882ac5050d2fb1.tar.bz2 rcm-58949be954b631e8a6db3a0f14882ac5050d2fb1.zip |
Nix: Add direnv and nix-direnv
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/pre-up/2-nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/pre-up/2-nix b/hooks/pre-up/2-nix index cfba81f..945bf48 100755 --- a/hooks/pre-up/2-nix +++ b/hooks/pre-up/2-nix @@ -4,5 +4,6 @@ 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 |