feat: adds spotify-connect service

This commit is contained in:
Ahwx 2024-06-21 11:54:28 +02:00
parent 7fc507fc71
commit ae6b3dfc88

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
networking.firewall.allowedUDPPorts = [ 5353 ];
networking.firewall.allowedTCPPorts = [ 57621 ];
# Spotifyd must have credentials, to do so, run:
# spotifyd --username <USER> --password <PASS>
# If you experience any issues, run:
# rm -fr ~/.cache/spotify
services.spotifyd = {
enable = true;
settings = {
global = {
username = "Liv";
password = "foo"; # TODO: add agenix
};
};
};
}