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