refactor(systemModules:nix): now enabled on all systems unless host is specified as a phone
This commit is contained in:
		
							parent
							
								
									a2cd43b705
								
							
						
					
					
						commit
						ce1e372f0f
					
				
					 5 changed files with 17 additions and 17 deletions
				
			
		|  | @ -1,30 +0,0 @@ | |||
| { lib, config, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.systemModules.nixOptions; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     nix.settings = { | ||||
|       substituters = [ | ||||
|         "https://cache.nixos.org?priority=10" | ||||
|         "https://fufexan.cachix.org" | ||||
|         "https://helix.cachix.org" | ||||
|         "https://hyprland.cachix.org" | ||||
|         "https://nix-community.cachix.org" | ||||
|         "https://nix-gaming.cachix.org" | ||||
|         "https://anyrun.cachix.org" | ||||
|       ]; | ||||
| 
 | ||||
|       trusted-public-keys = [ | ||||
|         "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" | ||||
|         "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" | ||||
|         "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" | ||||
|         "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" | ||||
|         "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" | ||||
|         "anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s=" | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue