smolder: add swap

This commit is contained in:
Artemis Tosini 2024-11-20 23:15:12 +00:00
parent 2e5c10c06d
commit acfb512727
Signed by: artemist
SSH key fingerprint: SHA256:EsuWCwx6fjxxExxf65rX+ocQJJAdw4R1KarpFue6Uwc

View file

@ -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;
};
}
];
}