mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 17:32:09 +01:00 
			
		
		
		
	[thinkman] optimise store automatically & fix format
This commit is contained in:
		
							parent
							
								
									197a1ef3e6
								
							
						
					
					
						commit
						b4535d6b57
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -48,8 +48,12 @@ | ||||||
|   boot.kernelPackages = pkgs.linuxPackages_latest; |   boot.kernelPackages = pkgs.linuxPackages_latest; | ||||||
| 
 | 
 | ||||||
|   # Nix |   # Nix | ||||||
|   nix.gc.automatic = true; |   nix.autoOptimiseStore = true; | ||||||
|   nix.gc.options = "--delete-older-than 30d"; |   nix.gc = { | ||||||
|  |     automatic = true; | ||||||
|  |     dates = "weekly"; | ||||||
|  |     options = "--delete-older-than 30d"; | ||||||
|  |   }; | ||||||
| 
 | 
 | ||||||
|   system.stateVersion = "20.09"; |   system.stateVersion = "20.09"; | ||||||
|   system.autoUpgrade.enable = true; |   system.autoUpgrade.enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler