boot.tmp.useZram

Whether to mount a zram device on /tmp during boot.

Large Nix builds can fail if the mounted zram device is not large enough. In such a case either increase the zramSettings.zram-size or disable this option.

Type
boolean
Default
false
Example
true
Declared
<nixpkgs/nixos/modules/system/boot/zram-as-tmp.nix>