gc: only run gc monthly
This commit is contained in:
		
							parent
							
								
									b8ee69c66b
								
							
						
					
					
						commit
						d0d7d7f930
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -45,7 +45,11 @@
 | 
			
		|||
  services.flatpak.enable = true;
 | 
			
		||||
  virtualisation.docker.enable = true;
 | 
			
		||||
  virtualisation.docker.autoPrune.enable = true;
 | 
			
		||||
  virtualisation.docker.autoPrune.dates = "monthly";
 | 
			
		||||
  virtualisation.docker.autoPrune.flags = [ "--all --volumes" ];
 | 
			
		||||
 | 
			
		||||
  programs.extra-container.enable = true;
 | 
			
		||||
 | 
			
		||||
  programs.firejail.enable = true;
 | 
			
		||||
 | 
			
		||||
  security.rtkit.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,7 @@
 | 
			
		|||
    nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
 | 
			
		||||
    gc = {
 | 
			
		||||
      automatic = true;
 | 
			
		||||
      dates = "weekly";
 | 
			
		||||
      dates = "monthly";
 | 
			
		||||
      options = "--delete-older-than 7d";
 | 
			
		||||
    };
 | 
			
		||||
    optimise.automatic = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue