nixos/tmp: add a note to useTmpfs on potential issues

This commit is contained in:
Sandro Jäckel 2023-03-20 17:27:06 +01:00
parent a5d95ac5fc
commit 3a5de0e725
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -36,6 +36,11 @@ in
default = false;
description = lib.mdDoc ''
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.
:::
'';
};
};