feat(hass): add zeroconf settings
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
18216b8874
commit
56829798f9
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue