From 6fe6156fc6b3d074b3d0bab1581d04e7131cd80b Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 29 Oct 2024 18:11:52 +0100 Subject: [PATCH] fix volume mounting --- mini/install.txt | 6 +++--- neko/install.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mini/install.txt b/mini/install.txt index aae3aac..1ffb8f9 100644 --- a/mini/install.txt +++ b/mini/install.txt @@ -94,9 +94,9 @@ mkdir -p /mnt/{data,nix,boot,root,etc/nixos,tmp} mount $DISK-part1 /mnt/boot # mount volumes -mount -o subvol=data,noatime /mnt/data -mount -o subvol=nix,noatime /mnt/nix -mount -o subvol=tmp,noatime /mnt/tmp +mount -o subvol=data,noatime /dev/mapper/crypt-system /mnt/data +mount -o subvol=nix,noatime /dev/mapper/crypt-system /mnt/nix +mount -o subvol=tmp,noatime /dev/mapper/crypt-system /mnt/tmp # bind mount persistent stuff to data mkdir -p /mnt/data/{root,nixos/$HOST} diff --git a/neko/install.txt b/neko/install.txt index 72a69d2..9c8ccc3 100644 --- a/neko/install.txt +++ b/neko/install.txt @@ -95,9 +95,9 @@ mkdir -p /mnt/{data,nix,boot,root,etc/nixos,tmp} mount $DISK-part1 /mnt/boot # mount volumes -mount -o subvol=data,noatime /mnt/data -mount -o subvol=nix,noatime /mnt/nix -mount -o subvol=tmp,noatime /mnt/tmp +mount -o subvol=data,noatime /dev/mapper/crypt-system /mnt/data +mount -o subvol=nix,noatime /dev/mapper/crypt-system /mnt/nix +mount -o subvol=tmp,noatime /dev/mapper/crypt-system /mnt/tmp # bind mount persistent stuff to data mkdir -p /mnt/data/{root,nixos/$HOST}