docs(system): explain /home/tmp

This commit is contained in:
electria 2026-05-01 14:42:59 -07:00
commit 482d42cc05
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs

View file

@ -52,6 +52,9 @@ in
tmpfsHugeMemoryPages = "within_size"; tmpfsHugeMemoryPages = "within_size";
}; };
# this is useful not only for having a user named "tmp"
# but also if any user wants to use a temporary directory,
# it's much nicer than /tmp because it isn't filled with system files
fileSystems."/home/tmp" = lib.mkDefault { fileSystems."/home/tmp" = lib.mkDefault {
fsType = "tmpfs"; fsType = "tmpfs";