diff --git a/terminal/ncmpcpp/default.nix b/terminal/ncmpcpp/default.nix index 17d9fc6..fb4f135 100644 --- a/terminal/ncmpcpp/default.nix +++ b/terminal/ncmpcpp/default.nix @@ -4,12 +4,13 @@ home-manager.sharedModules = [{ services.mpd = { enable = true; - - extraConfig = '' - auto_update "yes" - ''; + musicDirectory = "/home/user/Music"; }; + xdg.configFile."mpd/mpd.conf".text = '' + auto_update "yes" + ''; + xdg.configFile."ncmpcpp/on-song-change.sh".source = ./on-song-change.sh; programs.ncmpcpp = {