Spotify
Spotify
Local discovery
To sync local tracks from your filesystem with mobile devices in the same network, you need to open port 57621 by adding the following line to your configuration.nix:
networking.firewall.allowedTCPPorts = [ 57621 ];
spotifyd
The alternative client spotifyd is available as a package, nixos module, and home-manager module.
spotifyd connects to spotify as a spotify-connect device. It offers no controls of its own, but can be controlled via playerctl or spotify-tui.