aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/services/mpd.nix.org
blob: 6d9d6de66a4bda6e35be79287a29c6965d13c5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#+title: =mpd= Configuration

Configure =mpd= as a music player.
#+begin_src nix
  { config, pkgs, ... }:

  {
    services.mpd = {
      enable = true;
      musicDirectory = "/Volumes/Media/Music";
      extraConfig = ''
      audio_output {
        type "osx"
        name "CoreAudio"
        mixer_type "software"
        enabled "yes"
      }
      '';
    };
  }
#+end_src