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"; }