{ swapDevices = [ { device = "/dev/disk/by-uuid/24c47f3d-0d3e-4575-92a2-174b5a6b6086"; } ]; zramSwap = { enable = true; memoryPercent = 20; }; boot.kernel.sysctl."vm.swappiness" = 9; }