diff --git a/devices/oksys/hardware-configuration.nix b/devices/oksys/hardware-configuration.nix index edd4e88..92d4568 100644 --- a/devices/oksys/hardware-configuration.nix +++ b/devices/oksys/hardware-configuration.nix @@ -42,6 +42,13 @@ }; }; + swapDevices = [ + { + device = "/var/lib/swapfile"; + size = 16 * 1024; + } + ]; + zramSwap.enable = true; hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;