chef: Run GC more often
Hopefully this will make out-of-disk-space errors less common.
Eelco Dolstra committed
Sep 12, 2016 at 15:53 UTC
91306fbaa69ba00d9893306a860dfcb527989185
1 file changed
+1
delft/chef.nix
+1
@@ -44,6 +44,7 @@
44
45
nix.gc.automatic = true;
46
nix.gc.options = ''--max-freed "$((100 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
47
+ nix.gc.dates = "03,09,15,21:15";
48
49
networking.defaultMailServer.directDelivery = lib.mkForce false;
50
services.postfix.enable = true;