mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-29 06:17:13 +02:00
The zram module was auto-imported on all hosts via base scanPaths, and its swappiness=180/page-cluster=0 tunings leaked onto hosts that disabled zram (e.g. idols-ai with a disk swapfile, pushing cold anon pages to disk swap). Wrap the whole module in modules.zram.enable (default true); idols-ai now turns off zram and its tunings with a single switch.