Ver Fonte

Garbage collection

Johan Rong há 6 meses atrás
pai
commit
f28db746b1
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      nixos/features/system/basic.nix

+ 6 - 0
nixos/features/system/basic.nix

@@ -50,6 +50,12 @@
     };
   };
 
+  nix.gc = {
+    automatic = true;
+    dates = "weekly";
+    options = "--delete-older-than 7d";
+  };
+
   environment.variables = {
     QT_QPA_PLATFORMTHEME = "qt6ct";
   };