diff --git a/devices/homie/modules/music/default.nix b/devices/homie/modules/music/default.nix index 369aaf0e..53f8a96c 100644 --- a/devices/homie/modules/music/default.nix +++ b/devices/homie/modules/music/default.nix @@ -28,6 +28,11 @@ hardware.pulseaudio = { enable = true; + zeroconf = { + discovery.enable = true; + publish.enable = true; + }; + extraConfig = '' load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 ''; @@ -60,7 +65,7 @@ settings.global = let cacheDir = "/etc/spotifyd"; in { - device_name = config.networking.hostName; + device_name = config.networking.hostName + " connect"; device_type = "speaker"; zeroconf_port = 33798;