Skip to content

Tmp

boot.tmp.cleanOnBoot

Whether to delete all files in {file}/tmp during boot.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/tmp.nix

boot.tmp.tmpfsSize

Size of tmpfs in percentage. Percentage is defined by systemd.

Type: string or (positive integer, meaning >0)

Default

"50%"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/tmp.nix

boot.tmp.useTmpfs

Whether to mount a tmpfs on {file}/tmp during boot.

::: {.note} Large Nix builds can fail if the mounted tmpfs is not large enough. In such a case either increase the tmpfsSize or disable this option. :::

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/tmp.nix