From c2fcd44b6a64ec7fd44f364a64396f680babbf8d Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Wed, 29 May 2024 12:51:04 -0500 Subject: Updates --- hooks/pre-up/2-nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks/pre-up') diff --git a/hooks/pre-up/2-nix b/hooks/pre-up/2-nix index 0a457ee..0cb74ba 100755 --- a/hooks/pre-up/2-nix +++ b/hooks/pre-up/2-nix @@ -2,8 +2,8 @@ if ! [ -x "$(command -v nix)" ]; then echo "Installing Nix" - sudo install -d -m755 -o $(id -u) -g $(id -g) /nix + doas install -d -m755 -o $(id -u) -g $(id -g) /nix curl -L https://nixos.org/nix/install | sh - nix profile install nixpkgs#nix-direnv + echo "Nix has been installed, you should run nix profile install nixpkgs#nix-direnv once profile has been refreshed" fi -- cgit v1.2.3