boot.tmp.useZram

NixOS option

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 in: nixos/modules/system/boot/zram-as-tmp.nixView source on NixOS/nixpkgs →