From 07e39727e746c1e8460b37bfd0f053c21919d009 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 30 Nov 2024 12:18:46 +0000 Subject: [PATCH] Open some ports for home-assistant sonos integration --- system/services/home-assistant.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/services/home-assistant.nix b/system/services/home-assistant.nix index 9e182739..85aa8d59 100644 --- a/system/services/home-assistant.nix +++ b/system/services/home-assistant.nix @@ -12,5 +12,12 @@ extraOptions = [ "--network=host" ]; }; }; + networking.firewall = { + allowedTCPPorts = [ + 1400 + 1443 + ]; + allowedUDPPorts = [ 5353 ]; + }; services.caddy.virtualHosts."home.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:8123"; }