chore: clean up var-repart config
This commit is contained in:
parent
e5367bac84
commit
8e61f85f72
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue