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,16 +1,18 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
lib.mkIf config.usingMusicPlayerDaemon {
|
||||
home.packages = [ pkgs.ncmpc ];
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
network.listenAddress = "any";
|
||||
network.port = 6600;
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "my pipewire output"
|
||||
}
|
||||
'';
|
||||
services = {
|
||||
mpd = {
|
||||
enable = true;
|
||||
network.listenAddress = "any";
|
||||
network.port = 6600;
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "my pipewire output"
|
||||
}
|
||||
'';
|
||||
};
|
||||
mpd-mpris = { enable = true; };
|
||||
};
|
||||
services.mpd-mpris = { enable = true; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue