boot.zswap.zpool

NixOS option

Kernel zpool allocator. ‘zsmalloc’ is strongly recommended for kernels >= 6.3 as it offers the best density. For older kernels, ‘zbud’ is the fallback. Note: ‘z3fold’ was removed from Linux kernel 6.8 and later.

type: one of "zsmalloc", "zbud"
Default
if kernel >= 6.3 then "zsmalloc" else "zbud"
declared in: nixos/modules/system/boot/zswap.nixView source on NixOS/nixpkgs →