Adjust default swap size

This commit is contained in:
Vili Sinervä 2024-08-28 11:52:00 +03:00
parent 6b673ac3b1
commit 593f027cc9
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
4 changed files with 15 additions and 8 deletions

View file

@ -11,6 +11,13 @@
../hardware-specific/usb-automount.nix
];
swapDevices = pkgs.lib.mkForce [
{
device = "/var/lib/swapfile";
size = 16 * 1024;
}
];
boot = {
#resumeDevice = "/dev/mapper/luks-f6e1979b-0dee-4ee9-8170-10490019854b";
#kernelParams = [ "resume_offset=44537856" ];