MyNixOS website logo
option

zramSwap.memoryPercent

Maximum total amount of memory that can be stored in the zram swap devices (as a percentage of your total memory). Defaults to 1/2 of your total RAM. Run zramctl to check how good memory is compressed. This doesn't define how much memory will be used by the zram swap devices.

Declarations
Type
signed integer
Default
50