This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
2023-01-22 22:12:04 +01:00
|
|
|
{ pkgs, config, ... }: {
|
2023-01-18 05:13:47 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|