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 bycdd7310a50
After some trial and error I concluded that the attached commit is a minimal fix. (cherry picked from commit5f3c4bd11e
)
This commit is contained in:
parent
89d1d487b5
commit
6320299e16
|
@ -52,6 +52,8 @@ in
|
|||
config = mkIf config.services.shairport-sync.enable {
|
||||
|
||||
services.avahi.enable = true;
|
||||
services.avahi.publish.enable = true;
|
||||
services.avahi.publish.userServices = true;
|
||||
|
||||
users.extraUsers = singleton
|
||||
{ name = cfg.user;
|
||||
|
|
Loading…
Reference in New Issue
Block a user