Hi,
On 30/01/12 12:54, Florian Friesdorf wrote:
services.cleanTmp.paths = [ '/tmp' '/var/tmp' ] (default)
services.cleanTmp.onBoot = true;
The FHS says:
Files and directories located in /var/tmp must not be deleted when the
system is booted. Although data stored in /var/tmp is typically
On Mon, 30 Jan 2012 13:08:28 +0100, Eelco Dolstra e.dols...@tudelft.nl wrote:
Hi,
On 30/01/12 12:54, Florian Friesdorf wrote:
services.cleanTmp.paths = [ '/tmp' '/var/tmp' ] (default)
service.cleanTmp.paths = [ '/tmp' ] (default)
services.cleanTmp.onBoot = true;
The FHS says:
Can we compare the solution add nixos option to adding a recipes wiki
page adding such one liners as samples?
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Hi all,
After a reboot, I found that my /tmp is taking up 8Gb of space.
I don't want to use a tmpfs for it, as I occasionally use audio/video
tools that write to /tmp, with sizes above my system memory.
Looking at FHS's recommendations, I would say there are 2 moments to clean /tmp.
- At boot
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