Auto optimize storage
This commit is contained in:
		@@ -52,7 +52,11 @@ in {
 | 
			
		||||
  system.autoUpgrade.enable = true;
 | 
			
		||||
  system.stateVersion = "18.09";
 | 
			
		||||
 | 
			
		||||
  nix.gc.automatic = true;
 | 
			
		||||
  nix.gc.dates = "weekly";
 | 
			
		||||
  nix.gc.options = "--delete-older-than 30d";
 | 
			
		||||
  nix = {
 | 
			
		||||
    optimise.automatic = true;
 | 
			
		||||
    gc = {
 | 
			
		||||
      automatic = true;
 | 
			
		||||
      options = "--delete-older-than 7d";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user