smolder: add swap
This commit is contained in:
parent
2e5c10c06d
commit
acfb512727
|
@ -25,4 +25,14 @@ in
|
|||
kernelPackages = pkgs.linuxPackagesFor kernel;
|
||||
tmp.cleanOnBoot = true;
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/dev/disk/by-partuuid/bf3edb8a-e33d-46d7-a916-6d9649621745";
|
||||
randomEncryption = {
|
||||
enable = true;
|
||||
allowDiscards = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue