mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
21 lines
459 B
Nix
21 lines
459 B
Nix
{ 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
|
|
};
|
|
};
|
|
};
|
|
}
|