/tmp not in RAM

This commit is contained in:
Christoph Cullmann 2025-05-12 14:41:09 +02:00
parent 63d9ccda59
commit cccfd430fd

View file

@ -127,7 +127,7 @@ in
device = "none"; device = "none";
fsType = "tmpfs"; fsType = "tmpfs";
neededForBoot = true; neededForBoot = true;
options = [ "defaults" "size=50%" "mode=755" ]; options = [ "defaults" "size=25%" "mode=755" ];
}; };
# my data # my data
@ -165,6 +165,9 @@ in
# Either "/var/lib/nixos" has to be persisted, or all users and groups must have a uid/gid specified. The following users are missing a uid # Either "/var/lib/nixos" has to be persisted, or all users and groups must have a uid/gid specified. The following users are missing a uid
"/var/lib/nixos" "/var/lib/nixos"
# large tmp files better not in tmpfs
"/tmp"
# systemd timers # systemd timers
"/var/lib/systemd/timers" "/var/lib/systemd/timers"