about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-19T00·19-0400
committerGriffin Smith <root@gws.fyi>2020-05-19T00·19-0400
commit269486fd272b3bcc724dcca7c4b6448f1c0975a2 (patch)
tree8771f604dae12defd154a8bafb033a873d0322f1
parentcaa82ab48788bdf6859380fcb9b8bbb3feb15da2 (diff)
automatic gc weekly, delete older than 30d
-rw-r--r--system/modules/common.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/modules/common.nix b/system/modules/common.nix
index 3bac19becde7..230652c3da7b 100644
--- a/system/modules/common.nix
+++ b/system/modules/common.nix
@@ -115,9 +115,11 @@
 
     distributedBuilds = true;
 
-    # gc = {
-    #   automatic = true;
-    #   dates = "
+    gc = {
+      automatic = true;
+      dates = "weekly";
+      options = "--delete-older-than 30d";
+    };
   };
 
   urbos.enable = true;