about summary refs log tree commit diff
path: root/system/modules/common.nix
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 /system/modules/common.nix
parentcaa82ab48788bdf6859380fcb9b8bbb3feb15da2 (diff)
automatic gc weekly, delete older than 30d
Diffstat (limited to 'system/modules/common.nix')
-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 3bac19becd..230652c3da 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;