17 lines
339 B
Nix
17 lines
339 B
Nix
|
{ pkgs, config, ... }: {
|
||
|
services = {
|
||
|
mpd = {
|
||
|
enable = true;
|
||
|
musicDirectory = "${config.home.homeDirectory}/media/audio";
|
||
|
extraConfig = ''
|
||
|
audio_output {
|
||
|
type "pulse"
|
||
|
name "Pulseaudio"
|
||
|
server "localhost"
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
mpdris2.enable = true;
|
||
|
};
|
||
|
}
|