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; |         enable = true; | ||||||
|         configDir = configDir; |         configDir = configDir; | ||||||
|         extraComponents = [ |         extraComponents = [ | ||||||
|           "esphome" |  | ||||||
|           "met" |           "met" | ||||||
|           "radio_browser" |           "radio_browser" | ||||||
|           "isal" |           "isal" | ||||||
|  | @ -35,12 +34,22 @@ in { | ||||||
|           "minecraft_server" |           "minecraft_server" | ||||||
|           "openweathermap" |           "openweathermap" | ||||||
|         ]; |         ]; | ||||||
|         config.http = { |         config = { | ||||||
|           server_port = 8082; |           homeassistant = { | ||||||
|           use_x_forwarded_for = true; |             name = "Home"; | ||||||
|           trusted_proxies = ["127.0.0.1" "::1"]; |             latitude = "!secret latitude"; | ||||||
|           ip_ban_enabled = true; |             longitude = "!secret longitude"; | ||||||
|           login_attempts_threshold = 10; |             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: |         extraPackages = python3Packages: | ||||||
|           with python3Packages; [ |           with python3Packages; [ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue