hetzner-dedicated/zfs: Load nix in $PATH
This commit is contained in:
parent
78317931b1
commit
f98e8f1e9f
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue