diff --git a/pkgs/rootfs/mkrootfs.sh b/pkgs/rootfs/mkrootfs.sh index 8fdda39..31fc347 100644 --- a/pkgs/rootfs/mkrootfs.sh +++ b/pkgs/rootfs/mkrootfs.sh @@ -61,16 +61,14 @@ EOF cat <<EOF > $out/etc/repart.d/40-var.conf [Partition] Type=var -UUID=4d21b016-b534-45c2-a9fb-5c16e091fd2d Format=btrfs +MountPoint=/var Label=patos-state -Minimize=off Encrypt=tpm2 EncryptedVolume=patos-state:none:tpm2-device=auto,luks,discard -MountPoint=/var -FactoryReset=yes SizeMinBytes=1G -SplitName=- +Minimize=off +FactoryReset=yes EOF # as rootfs is read-only we need to configure the fstab and cryptsetup generators to look