Skip to content

Commit

Permalink
feat: adds spotify-connect service
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahwxorg committed Jun 21, 2024
1 parent 7fc507f commit ae6b3df
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions modules/services/spotify.nix
Original file line number Diff line number Diff line change
@@ -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
};
};
};
}

0 comments on commit ae6b3df

Please sign in to comment.