2023-03-25 22:10:09 +05:30
|
|
|
{...}: {
|
2023-03-15 22:11:59 +05:30
|
|
|
boot = {
|
|
|
|
resumeDevice = "/dev/vg0/swap";
|
|
|
|
initrd.luks.devices = {
|
|
|
|
luks0 = {
|
|
|
|
allowDiscards = true;
|
|
|
|
bypassWorkqueues = true;
|
|
|
|
device = "/dev/disk/by-partlabel/CRYPT";
|
|
|
|
preLVM = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-03-25 22:10:09 +05:30
|
|
|
swapDevices = [{device = "/dev/vg0/swap";}];
|
2023-03-15 22:11:59 +05:30
|
|
|
}
|