Sfoglia il codice sorgente

Garbage collection

Johan Rong 6 mesi fa
parent
commit
f28db746b1
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  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";
   };