diff --git a/general.nix b/general.nix index 65362e0..1b15cad 100644 --- a/general.nix +++ b/general.nix @@ -125,6 +125,13 @@ in gcc.tune = cfg.cpuTune; }; + # zram is so usefull, we should always have it enabled. + zramSwap = { + enable = true; + priority = 10000; + memoryPercent = 100; + algorithm = "zstd"; + }; nix.buildMachines = [ (mkBuildMachine { hostName = "luke-skywalker-nixos.local";