zramSwap.priority

Priority of the zram swap devices. It should be a number higher than the priority of your disk-based swap devices (so that the system will fill the zram swap devices before falling back to disk swap).

Type
signed integer
Default
5
Declared
<nixpkgs/nixos/modules/config/zram.nix>