Update EDI layout on disk to put swap in LUKS

This commit is contained in:
Lillian Violet 2024-02-12 01:20:19 +01:00
parent ff1a6f6e28
commit c1c4641509

View file

@ -19,19 +19,6 @@
];
};
};
encryptedSwap = {
size = "20M";
content = {
type = "swap";
randomEncryption = true;
};
};
plainSwap = {
size = "4G";
content = {
type = "swap";
resumeDevice = true; # resume from hiberation from this device
};
};
luks = {
size = "100%";
@ -46,8 +33,15 @@
};
#additionalKeyFiles = ["/tmp/additionalSecret.key"];
content = {
swap = {
type = "swap";
size = "4G";
resumeDevice = true; # resume from hiberation from this device
};
root = {
type = "filesystem";
format = "bcachefs";
size = "100%";
mountpoint = "/";
};
};