hetzner-dedicated/zfs: Load nix in $PATH

This commit is contained in:
Akshay Mankar 2023-10-13 18:07:46 +02:00
parent 78317931b1
commit f98e8f1e9f
Signed by: axeman
GPG key ID: CA08F3AB62369B89

View file

@ -267,6 +267,10 @@ mount /dev/md127 /mnt/boot/efi
# check https://github.com/DeterminateSystems/nix-installer # check https://github.com/DeterminateSystems/nix-installer
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
set +eu
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
set -eu
# Keep in sync with `system.stateVersion` set below! # Keep in sync with `system.stateVersion` set below!
nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs
nix-channel --update nix-channel --update