diff options
author | Marc Coquand <marc@mccd.space> | 2024-06-30 17:21:04 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-06-30 17:21:04 -0500 |
commit | 9d2684facef7d872712d7fc740039dfcbd2ba32e (patch) | |
tree | 5edb2d2d13b27b9d6a590482f7ef7ba4e3274ae4 /hooks/pre-up/2-nix | |
parent | 7035480dba8fc78148092bf738194485093fa65e (diff) | |
download | rcm-9d2684facef7d872712d7fc740039dfcbd2ba32e.tar.gz rcm-9d2684facef7d872712d7fc740039dfcbd2ba32e.tar.bz2 rcm-9d2684facef7d872712d7fc740039dfcbd2ba32e.zip |
Diffstat (limited to 'hooks/pre-up/2-nix')
-rwxr-xr-x | hooks/pre-up/2-nix | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/hooks/pre-up/2-nix b/hooks/pre-up/2-nix deleted file mode 100755 index 19ba279..0000000 --- a/hooks/pre-up/2-nix +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -if ! [ -x "$(command -v nix)" ]; then - echo "Installing Nix" - doas install -d -m755 -o $(id -u) -g $(id -g) /nix - doas xbps-install -y xz - curl -L https://nixos.org/nix/install | sh - echo "Nix has been installed, you should run nix profile install nixpkgs#nix-direnv once profile has been refreshed" -fi - |