nix machine / user configurations
at terra 344 B view raw
1{ 2 boot.initrd.systemd.enable = true; 3 boot.kernelParams = [ 4 "zswap.enabled=1" # enables zswap 5 "zswap.compressor=lz4" # compression algorithm 6 "zswap.max_pool_percent=13" # maximum percentage of RAM that zswap is allowed to use 7 "zswap.shrinker_enabled=1" # whether to shrink the pool proactively on high memory pressure 8 ]; 9}