mpd: Use pipewire output

neomutt
Simon Bruder 2021-11-20 16:44:54 +01:00
parent 1df9a87520
commit f2d9a44800
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
lib.mkIf nixosConfig.sbruder.gui.enable {
services.mpd = {
enable = true;
package = pkgs.unstable.mpd;
musicDirectory = "~/Music";
network.listenAddress = "${config.services.mpd.dataDir}/socket";
extraConfig = ''
@ -13,8 +14,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
restore_paused "yes"
audio_output {
type "pulse"
name "pulse"
type "pipewire"
name "pipewire"
}
audio_output {