zramSwap.memoryMax

NixOS option

Maximum total amount of memory (in bytes) that can be stored in the zram swap devices. If set, the smaller one of this option and memoryPercent would be used. This doesn’t define how much memory will be used by the zram swap devices.

type: null or signed integer
Default
null
declared in: nixos/modules/config/zram.nixView source on NixOS/nixpkgs →