diff --git a/bootstrap.sh b/bootstrap.sh index 30a9f84..2792099 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,10 +1,11 @@ # Bootstrapping nix and configuring nix to the point it can configure the rest # `chmod u+x` after git clone (change mode) to make file executable (+x) for current user (u) echo "Copying nix.conf to ~/.config/nix/" +mkdir -p ~/.config/nix/ cp ./nix.conf ~/.config/nix/ echo "Running nix install script" -sh < (curl -L "https://nixos.org/nix/install") +sh < curl -L "https://nixos.org/nix/install" echo "Installing nix-darwin" nix run nix-darwin -- switch --flake ~/.config/nix-darwin