c3h-nixfiles/shared-services/spotifyd.nix

12 lines
255 B
Nix
Raw Permalink Normal View History

{ config, ... }:
2021-08-21 16:47:21 +00:00
{
services.spotifyd = {
enable = true;
settings.zeroconf_port = 18572;
2021-08-21 16:47:21 +00:00
};
networking.firewall.allowedTCPPorts = [ 4070 config.services.spotifyd.settings.zeroconf_port ];
networking.firewall.allowedUDPPorts = [ 5353 ];
2021-08-21 16:47:21 +00:00
}