From ad154e9ed149bde968afb34b1cc19e10f4bb8844 Mon Sep 17 00:00:00 2001 From: William Date: Sun, 16 Mar 2025 12:42:53 -0300 Subject: [PATCH] zramSwap is actually really good --- hosts/modules/io/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/modules/io/hardware-configuration.nix b/hosts/modules/io/hardware-configuration.nix index 037a503..020240f 100644 --- a/hosts/modules/io/hardware-configuration.nix +++ b/hosts/modules/io/hardware-configuration.nix @@ -73,6 +73,11 @@ }; }; + zramSwap = { + enable = true; + memoryPercent = 100; + }; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; networking.useDHCP = lib.mkDefault true;