From 4b1413cdd74c5fa1657fbcf46aef424bac0edbec Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 30 Sep 2026 22:16:52 +0200 Subject: [PATCH] remove music assistant and open ports for sonos Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- server-modules/home-assistant/default.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/server-modules/home-assistant/default.nix b/server-modules/home-assistant/default.nix index f4f0cc89..84b96e46 100644 --- a/server-modules/home-assistant/default.nix +++ b/server-modules/home-assistant/default.nix @@ -46,7 +46,6 @@ in { "manual" "meteo_france" "remote_calendar" - "music_assistant" "systemmonitor" ]; customComponents = plugins.customComponents; @@ -107,28 +106,16 @@ in { done ''; - services.music-assistant = { - enable = true; - openFirewall = true; - providers = [ - "hass" - "hass_players" - "spotify" - "sonos" - "airplay" - "chromecast" - ]; - }; - services.matter-server = { enable = true; extraArgs.primary-interface = config.var.networkInterface; }; networking.firewall.allowedUDPPorts = [5353]; + # Sonos event subscriptions (callbacks from speakers to HA) + networking.firewall.allowedTCPPorts = [1400]; services.cloudflared.tunnels."${config.var.tunnelId}".ingress = { "hass.${config.var.domain}" = "http://localhost:${toString config.services.home-assistant.config.http.server_port}"; - "music.${config.var.domain}" = "http://localhost:8095"; }; }