From f98e8f1e9f99f274fd85af91f273e2cb7b8fd662 Mon Sep 17 00:00:00 2001 From: Akshay Mankar Date: Fri, 13 Oct 2023 18:07:46 +0200 Subject: [PATCH] hetzner-dedicated/zfs: Load nix in $PATH --- hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh b/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh index 1c54a35..969f5f2 100644 --- a/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh +++ b/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh @@ -267,6 +267,10 @@ mount /dev/md127 /mnt/boot/efi # check https://github.com/DeterminateSystems/nix-installer 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! nix-channel --add https://nixos.org/channels/nixos-23.05 nixpkgs nix-channel --update