2023-03-29 21:48:55 +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-29 21:48:55 +05:30
|
|
|
swapDevices = [{ device = "/dev/vg0/swap"; }];
|
2023-03-15 22:11:59 +05:30
|
|
|
}
|