From f156120464edc1379f0db2a1684829c982b51fb1 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 3 Aug 2023 13:58:13 +0200 Subject: [PATCH] add mqtt client to shairport-sync --- utils/modules/home-assistant/new.nix | 4 +++- utils/modules/snapserver.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/modules/home-assistant/new.nix b/utils/modules/home-assistant/new.nix index 33528c0..212b270 100644 --- a/utils/modules/home-assistant/new.nix +++ b/utils/modules/home-assistant/new.nix @@ -47,7 +47,9 @@ }; networking.firewall = { - allowedUDPPorts = [ 8123 5683 ]; + allowedUDPPorts = [ + 5683 # shelly coiot + ]; }; } diff --git a/utils/modules/snapserver.nix b/utils/modules/snapserver.nix index 2f89daf..995d6a6 100644 --- a/utils/modules/snapserver.nix +++ b/utils/modules/snapserver.nix @@ -4,6 +4,7 @@ shairport-sync = pkgs.shairport-sync.overrideAttrs (_: { configureFlags = [ "--with-alsa" "--with-pipe" "--with-pa" "--with-stdout" "--with-avahi" "--with-ssl=openssl" "--with-soxr" + "--with-mqtt-client" "--without-configfiles" "--sysconfdir=/etc" "--with-metadata"