From e2fc0536aee44be6b6ff2ed5af008cf4c01d1944 Mon Sep 17 00:00:00 2001 From: Akshay Mankar Date: Fri, 13 Oct 2023 17:31:42 +0200 Subject: [PATCH] hetzner-dedicated/zfs: Correct mounts --- hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/