fix: add missing port for spotifyd [winters]

This commit is contained in:
Swarsel 2024-09-28 15:13:28 +02:00
parent 1bdf5292e8
commit 8af4cb511e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 30 additions and 24 deletions

View file

@ -6991,8 +6991,8 @@ Also, the system state version is set here. No need to touch it.
**** spotifyd
#+begin_src nix :tangle profiles/server/common/spotifyd.nix
{ pkgs, lib, config, ... }:
{
{ pkgs, lib, config, ... }:
{
config = lib.mkIf config.swarselsystems.server.spotifyd {
users.groups.spotifyd = {
gid = 65136;
@ -7004,6 +7004,9 @@ Also, the system state version is set here. No need to touch it.
group = "spotifyd";
extraGroups = [ "audio" "utmp" ];
};
networking.firewall.allowedTCPPorts = [ 1025 ];
services.spotifyd = {
enable = true;
settings = {
@ -7019,7 +7022,7 @@ Also, the system state version is set here. No need to touch it.
};
};
}
}
#+end_src
**** mpd

View file

@ -11,6 +11,9 @@
group = "spotifyd";
extraGroups = [ "audio" "utmp" ];
};
networking.firewall.allowedTCPPorts = [ 1025 ];
services.spotifyd = {
enable = true;
settings = {