[Nix-dev] cleaning /tmp

Marc Weber marco-oweber at gmx.de
Sun Jan 29 22:08:05 CET 2012


> Does nixos have anything in place to manage /tmp?
> What do others do?
It was committed once in the past and reverted again for good reasons.
(eg before switching to SSD/tmpfs I deleted /tmp only once every 4
months keeping files around.)
If you want it opt-in by using a "startup" shell script.

Eg there are configuration options
boot.postBoot and
boot.initrd.postMount
and such.

Marc Weber


More information about the nix-dev mailing list