forked from jan-leila/nix-config
		
	added more config to home assistant
This commit is contained in:
		
							parent
							
								
									99e57603c7
								
							
						
					
					
						commit
						9715517af6
					
				
					 1 changed files with 16 additions and 7 deletions
				
			
		|  | @ -20,7 +20,6 @@ in { | |||
|         enable = true; | ||||
|         configDir = configDir; | ||||
|         extraComponents = [ | ||||
|           "esphome" | ||||
|           "met" | ||||
|           "radio_browser" | ||||
|           "isal" | ||||
|  | @ -35,13 +34,23 @@ in { | |||
|           "minecraft_server" | ||||
|           "openweathermap" | ||||
|         ]; | ||||
|         config.http = { | ||||
|         config = { | ||||
|           homeassistant = { | ||||
|             name = "Home"; | ||||
|             latitude = "!secret latitude"; | ||||
|             longitude = "!secret longitude"; | ||||
|             elevation = "!secret elevation"; | ||||
|             unit_system = "metric"; | ||||
|             time_zone = "CDT"; | ||||
|           }; | ||||
|           http = { | ||||
|             server_port = 8082; | ||||
|             use_x_forwarded_for = true; | ||||
|             trusted_proxies = ["127.0.0.1" "::1"]; | ||||
|             ip_ban_enabled = true; | ||||
|             login_attempts_threshold = 10; | ||||
|           }; | ||||
|         }; | ||||
|         extraPackages = python3Packages: | ||||
|           with python3Packages; [ | ||||
|             numpy | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue