boot.tmp.zramSettings.options
NixOS option
By default, file systems and swap areas are trimmed on-the-go by setting “discard”. Setting this to the empty string clears the option. See: https://github.com/systemd/zram-generator/blob/main/zram-generator.conf.example
type: stringDefault
declared in: nixos/modules/system/boot/zram-as-tmp.nixView source on NixOS/nixpkgs →"X-mount.mode=1777,discard"