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