boot.initrd.compressor

The compressor to use on the initrd image. May be any of:

The given program should read data from stdin and write it to stdout compressed.

Type
string or function that evaluates to a(n) string
Default

zstd if the kernel supports it (5.9+), gzip if not

Example
"xz"
Declared
<nixpkgs/nixos/modules/system/boot/stage-1.nix>