mpd: setup mpdris2

This commit is contained in:
Leonardo Eugênio 2022-12-24 16:54:29 -03:00
parent 195011e11e
commit 9a0396cbe0

View file

@ -178,7 +178,7 @@ in {
}; };
services.mpd = { services.mpd = {
enable = true; enable = true;
musicDirectory = "~/Música"; musicDirectory = config.home.homeDirectory + "/Música";
extraConfig = '' extraConfig = ''
restore_paused "yes" restore_paused "yes"
auto_update "yes" auto_update "yes"
@ -190,6 +190,11 @@ in {
filesystem_charset "UTF-8" filesystem_charset "UTF-8"
''; '';
}; };
services.mpdris2 = {
enable = true;
multimediaKeys = true;
notifications = true;
};
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage