feat(hass): add zeroconf settings
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-09-23 16:37:37 -04:00
parent 18216b8874
commit 56829798f9

View file

@ -28,6 +28,11 @@
hardware.pulseaudio = { hardware.pulseaudio = {
enable = true; enable = true;
zeroconf = {
discovery.enable = true;
publish.enable = true;
};
extraConfig = '' extraConfig = ''
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
''; '';
@ -60,7 +65,7 @@
settings.global = let settings.global = let
cacheDir = "/etc/spotifyd"; cacheDir = "/etc/spotifyd";
in { in {
device_name = config.networking.hostName; device_name = config.networking.hostName + " connect";
device_type = "speaker"; device_type = "speaker";
zeroconf_port = 33798; zeroconf_port = 33798;