forked from jan-leila/nix-config
		
	added weekly timers to garbage collect and optimize
made garbage collector collect older then a week
This commit is contained in:
		
							parent
							
								
									bbb4be8ac8
								
							
						
					
					
						commit
						cfa0f64f70
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		|  | @ -8,8 +8,15 @@ | |||
|       experimental-features = ["nix-command" "flakes"]; | ||||
|       trusted-users = ["leyla"]; | ||||
|     }; | ||||
|     gc.automatic = true; | ||||
|     optimise.automatic = true; | ||||
|     gc = { | ||||
|       automatic = true; | ||||
|       dates = "weekly"; | ||||
|       options = "--delete-older-than 7d"; | ||||
|     }; | ||||
|     optimise = { | ||||
|       automatic = true; | ||||
|       dates = "weekly"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   # Enable networking | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue