c3h-nixfiles/shared-services/spotifyd.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 ];
}