2021-10-24 21:38:49 +00:00
|
|
|
{ config, ... }:
|
2021-08-21 16:47:21 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
services.spotifyd = {
|
|
|
|
enable = true;
|
2021-10-24 21:38:49 +00:00
|
|
|
settings.zeroconf_port = 18572;
|
2021-08-21 16:47:21 +00:00
|
|
|
};
|
|
|
|
|
2021-11-04 19:21:19 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [ 4070 config.services.spotifyd.settings.zeroconf_port ];
|
|
|
|
networking.firewall.allowedUDPPorts = [ 5353 ];
|
2021-08-21 16:47:21 +00:00
|
|
|
}
|