Clear /tmp periodically
Fixes https://github.com/NixOS/nixpkgs/issues/16995.
Eelco Dolstra committed
Jul 18, 2016 at 11:49 UTC
e09073ffbf16fdd577eb4aafa799a2bbd8f1eb49
1 file changed
+2
delft/common.nix
+2
@@ -114,4 +114,6 @@ with pkgs.lib;
114
systemd.services.systemd-journald.serviceConfig.WatchdogSec = 0;
115
116
environment.enableDebugInfo = true;
117
+
118
+ systemd.tmpfiles.rules = [ "d /tmp 1777 root root 7d" ];
119
}