11 lines
255 B
Nix
11 lines
255 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.spotifyd = {
|
|
enable = true;
|
|
settings.zeroconf_port = 18572;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 4070 config.services.spotifyd.settings.zeroconf_port ];
|
|
networking.firewall.allowedUDPPorts = [ 5353 ];
|
|
}
|