#+title: MPD Configuration

Set music directory and enable PipeWire output.
#+begin_src nix :tangle ~/.flake/home/services/mpd.nix :mkdirp yes
  { config, pkgs, ... }:

  {
    services.mpd = {
      enable = true;
      musicDirectory = "~/Music";
      extraConfig = ''
      audio_output {
        type "pipewire"
        name "Pipewire"
        mixer_type "hardware"
        enabled "yes"
      }
      '';
    };
  }
#+end_src
