d-i partman-auto/disk string /dev/nvme0n1p3
#d-i partman-auto/select_disk select /var/lib/partman/devices/=dev=nvme0n1
# "Partition disks":"Partitioning scheme:"/"All files in one partition (recommended for new users)"
-d-i partman-auto/choose_recipe select atomic
+d-i partman-auto/expert_recipe string custom-crypto :: \
+538 538 1075 free \
+ $iflabel{ gpt } \
+ $reusemethod{ } \
+ method{ efi } \
+ format{ } . \
+512 512 768 ext2 \
+ $defaultignore{ } \
+ method{ format } \
+ format{ } \
+ use_filesystem{ } \
+ filesystem{ ext2 } \
+ mountpoint{ /boot } . \
+900 10000 -1 $default_filesystem \
+ $lvmok{ } \
+ $lv_name{ root } \
+ method{ format } \
+ format{ } \
+ use_filesystem{ } \
+ $default_filesystem{ } \
+ mountpoint{ / } . \
+48000 48000 48000 linux-swap \
+ $lvmok{ } \
+ $lv_name{ swap } \
+ $reusemethod{ } \
+ method{ swap } \
+ format{ } .
+d-i partman-auto/choose_recipe select custom-crypto
# "Partition disks"/"Write the changes to disks and configure LVM?"
d-i partman-lvm/confirm boolean true
# "Partition disks"/"Erasing data on /dev/nvme0n1p3:"