about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-10-23T15·13-0400
committerglittershark <grfn@gws.fyi>2020-10-23T15·23+0000
commit92a371499bd678099374bfeddee46ccea553c128 (patch)
tree23dfdfb0e403f6dbb5265b8d61efbbb1d17c7739
parent5e5a58213456cb22f9d3fe5e26f52e9b1404d8e8 (diff)
feat(gs/mugwump): Only run nix GC monthly r/1859
Change-Id: I3b81fe5a76c26e42fb6d2937ce980e12964d70b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2060
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/glittershark/system/system/machines/mugwump.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/glittershark/system/system/machines/mugwump.nix b/users/glittershark/system/system/machines/mugwump.nix
index 8d0d945adcac..31307cd10ed7 100644
--- a/users/glittershark/system/system/machines/mugwump.nix
+++ b/users/glittershark/system/system/machines/mugwump.nix
@@ -60,6 +60,8 @@ with lib;
     commands = [{ command = "ALL"; options = ["NOPASSWD"]; }];
   }];
 
+  nix.gc.dates = "monthly";
+
   services.fail2ban = {
     enable = true;
     ignoreIP = [