Add nix configuration
Make wheel group trusted users in preparation for colmena.
This commit is contained in:
		
					parent
					
						
							
								4193e65a04
							
						
					
				
			
			
				commit
				
					
						10702979f1
					
				
			
		
					 2 changed files with 17 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								config/common/nix.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								config/common/nix.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| { ... }:  | ||||
| 
 | ||||
| { | ||||
|   nix = { | ||||
|     settings = { | ||||
|       trusted-users = [ "@wheel" ]; | ||||
|       auto-optimise-store = true; | ||||
|       experimental-features = [ "nix-command" "flakes" ]; | ||||
|     }; | ||||
|     gc = { | ||||
|       automatic = true; | ||||
|       dates = "weekly"; | ||||
|       options = "--delete-older-than 30d"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue