MyNixOS website logo
option

boot.zswap.shrinkerEnabled

Enable the zswap shrinker to reclaim memory when under pressure.

When enabled, the shrinker will automatically reclaim compressed pages from the zswap pool when the system is under memory pressure, helping to prevent out-of-memory situations.

It is recommended to keep this enabled for most workloads, especially on systems with limited memory.

Declarations
Type
boolean
Default
true