diff options
Diffstat (limited to 'modules/home/conf/mpd/default.nix')
-rw-r--r-- | modules/home/conf/mpd/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/home/conf/mpd/default.nix b/modules/home/conf/mpd/default.nix index 3b8d2052..b30f6995 100644 --- a/modules/home/conf/mpd/default.nix +++ b/modules/home/conf/mpd/default.nix @@ -14,19 +14,21 @@ in { }; systemd.user.services.mpd.Service.ExecStartPre = lib.mkForce '' - ${pkgs.coreutils}/bin/mkdir -p "${dataDir}" "${playlistDirectory}" "${runtimeDir}" + ${pkgs.coreutils}/bin/mkdir --parents "${dataDir}" "${playlistDirectory}" "${runtimeDir}" ''; services.mpd = { enable = true; - inherit dataDir; + inherit dataDir playlistDirectory; musicDirectory = config.programs.beets.settings.directory; network = { listenAddress = "${runtimeDir}/socket"; }; + extraConfig = '' metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc,comment" - auto_update "yes" + # Updated by the beets `mpdupdate` plugin + auto_update "no" audio_output { type "pipewire" |