From f4fe63a299db5af21a84c309e24dc0c830761ac4 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Wed, 5 Oct 2022 11:54:46 -0700 Subject: [PATCH 1/2] fix: tewi hass missing dependency > Error occurred loading configuration flow for integration upnp: No module named 'getmac' --- nixos/systems/tewi/home-assistant.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/systems/tewi/home-assistant.nix b/nixos/systems/tewi/home-assistant.nix index 960661a3..81abc733 100644 --- a/nixos/systems/tewi/home-assistant.nix +++ b/nixos/systems/tewi/home-assistant.nix @@ -141,6 +141,7 @@ psycopg2 aiohomekit securetar + getmac # for upnp integration (aiogithubapi.overrideAttrs (_: { doInstallCheck = false; })) ]; extraComponents = [ From 71bf4a750b70b80fe33bfb3c922685a3e48c602c Mon Sep 17 00:00:00 2001 From: arcnmx Date: Wed, 5 Oct 2022 11:55:35 -0700 Subject: [PATCH 2/2] chore: hass list formatting --- nixos/systems/tewi/home-assistant.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/systems/tewi/home-assistant.nix b/nixos/systems/tewi/home-assistant.nix index 81abc733..35365617 100644 --- a/nixos/systems/tewi/home-assistant.nix +++ b/nixos/systems/tewi/home-assistant.nix @@ -56,14 +56,14 @@ http = { cors_allowed_origins = [ "https://google.com" - "https://www.home-assistant.io" + "https://www.home-assistant.io" ]; use_x_forwarded_for = "true"; trusted_proxies = [ "127.0.0.0/24" - "200::/7" - "100.64.0.0/10" - "fd7a:115c:a1e0:ab12::/64" + "200::/7" + "100.64.0.0/10" + "fd7a:115c:a1e0:ab12::/64" ]; }; recorder = {