diff --git a/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh b/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh index 9922342..3c268ec 100644 --- a/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh +++ b/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh @@ -219,9 +219,9 @@ zfs create -o mountpoint=legacy \ # # Mount the filesystems manually. The nixos installer will detect these mountpoints # and save them to /mnt/nixos/hardware-configuration.nix during the install process. -mount -t zfs root_pool/root /mnt +mount -t zfs root_pool/encrypted/root /mnt mkdir -p /mnt/var/lib/postgresql -mount -t zfs root_pool/postgresql /mnt/var/lib/postgresql +mount -t zfs root_pool/encrypted/data/postgresql /mnt/var/lib/postgresql # Create a raid mirror for the efi boot # see https://docs.hetzner.com/robot/dedicated-server/operating-systems/efi-system-partition/