From 58949be954b631e8a6db3a0f14882ac5050d2fb1 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Thu, 9 May 2024 21:39:08 -0500 Subject: Nix: Add direnv and nix-direnv --- hooks/pre-up/2-nix | 1 + 1 file changed, 1 insertion(+) (limited to 'hooks/pre-up') 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 -- cgit v1.2.3