dotfiles/common/.flake/home/services/mpd.nix.org
2024-10-07 18:55:30 -05:00

432 B

MPD Configuration

Set music directory and enable PipeWire output.

  { config, pkgs, ... }:

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