feat(tazjin/nixos): enable automatic-gc on all physical machines
Change-Id: I115c29da5d7038a5e6e917928a16a2b8c6eb084e Reviewed-on: https://cl.tvl.fyi/c/depot/+/12692 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
		
							parent
							
								
									f5c9556129
								
							
						
					
					
						commit
						9882f0d55c
					
				
					 2 changed files with 9 additions and 9 deletions
				
			
		|  | @ -114,5 +114,14 @@ in | |||
|       mosh.enable = true; | ||||
|       ssh.startAgent = true; | ||||
|     }; | ||||
| 
 | ||||
|     # Automatically collect garbage from the Nix store. | ||||
|     services.depot.automatic-gc = { | ||||
|       enable = true; | ||||
|       interval = "1 hour"; | ||||
|       diskThreshold = 16; # GiB | ||||
|       maxFreed = 50; # GiB | ||||
|       preserveGenerations = "14d"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue