mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: add missing port for spotifyd [winters]
This commit is contained in:
parent
1bdf5292e8
commit
8af4cb511e
2 changed files with 30 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@
|
|||
group = "spotifyd";
|
||||
extraGroups = [ "audio" "utmp" ];
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 1025 ];
|
||||
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue