22 lines
469 B
Nix
22 lines
469 B
Nix
{pkgs, config, ...}: {
|
|
services.mpd = {
|
|
enable = true;
|
|
musicDirectory = config.home.homeDirectory + "/Música";
|
|
extraConfig = ''
|
|
restore_paused "yes"
|
|
auto_update "yes"
|
|
audio_output {
|
|
type "pulse"
|
|
name "My Pulse Output"
|
|
mixer_type "hardware"
|
|
}
|
|
filesystem_charset "UTF-8"
|
|
'';
|
|
};
|
|
services.mpdris2 = {
|
|
enable = true;
|
|
multimediaKeys = true;
|
|
notifications = true;
|
|
};
|
|
}
|