mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 11:18:24 +02:00
remove music assistant and open ports for sonos
Signed-off-by: Hadi <[email protected]>
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user