diff --git a/user/home.nix b/user/home.nix index 78b7be5..e108b3a 100644 --- a/user/home.nix +++ b/user/home.nix @@ -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