diff options
Diffstat (limited to 'modules/home')
-rw-r--r-- | modules/home/conf/mpd/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/home/conf/mpd/default.nix b/modules/home/conf/mpd/default.nix index 49844b06..5ec50645 100644 --- a/modules/home/conf/mpd/default.nix +++ b/modules/home/conf/mpd/default.nix @@ -16,6 +16,7 @@ in { systemd.user.services.mpd.Service.ExecStartPre = lib.mkForce '' ${pkgs.coreutils}/bin/mkdir -p "${dataDir}" "${playlistDirectory}" "${runtimeDir}" ''; + services.mpd = { enable = true; inherit dataDir; @@ -24,8 +25,8 @@ in { listenAddress = "${runtimeDir}/socket"; }; extraConfig = '' - metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc,comment" - auto_update "yes" + metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc,comment" + auto_update "yes" audio_output { type "pipewire" |