feat: integrate mpd-mpris
allow mpd mpris
This commit is contained in:
parent
dfdd271350
commit
20029c971a
1 changed files with 13 additions and 11 deletions
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
lib.mkIf config.usingMusicPlayerDaemon {
|
lib.mkIf config.usingMusicPlayerDaemon {
|
||||||
home.packages = [ pkgs.ncmpc ];
|
home.packages = [ pkgs.ncmpc ];
|
||||||
services.mpd = {
|
services = {
|
||||||
|
mpd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
network.listenAddress = "any";
|
network.listenAddress = "any";
|
||||||
network.port = 6600;
|
network.port = 6600;
|
||||||
|
@ -12,5 +13,6 @@ lib.mkIf config.usingMusicPlayerDaemon {
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
services.mpd-mpris = { enable = true; };
|
mpd-mpris = { enable = true; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue