{ config, ... }: { services.spotifyd = { enable = true; settings.zeroconf_port = 18572; }; networking.firewall.allowedTCPPorts = [ 4070 config.services.spotifyd.settings.zeroconf_port ]; networking.firewall.allowedUDPPorts = [ 5353 ]; }