nixos: fix avahi connectivity for shairport-sync module
The shairport-sync service currently fails to start with the error shairport avahi_entry_group_new failed This problem seems to have been introduced by cdd7310a503481e3c40266be45b6b8256d95ecbd After some trial and error I concluded that the attached commit is a minimal fix.
This commit is contained in:
parent
b16d8b2ada
commit
5f3c4bd11e
@ -52,6 +52,8 @@ in
|
|||||||
config = mkIf config.services.shairport-sync.enable {
|
config = mkIf config.services.shairport-sync.enable {
|
||||||
|
|
||||||
services.avahi.enable = true;
|
services.avahi.enable = true;
|
||||||
|
services.avahi.publish.enable = true;
|
||||||
|
services.avahi.publish.userServices = true;
|
||||||
|
|
||||||
users.extraUsers = singleton
|
users.extraUsers = singleton
|
||||||
{ name = cfg.user;
|
{ name = cfg.user;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user