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.
- Type
positive integer, meaning >0- Default
50- Declared
- <nixpkgs/nixos/modules/config/zram.nix>