aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/services/mpd.nix.org
blob: ebc58aaab3323f5e26651e313ef21ee23d827b49 (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, ... }:

  {
    home.packages = with pkgs; [
      # mpd
    ];
    home.file."./.config/mpd/mpd.conf".text = ''
      music_directory = "/Volumes/Media/Music";
      audio_output {
        type "osx"
        name "CoreAudio"
        mixer_type "software"
        enabled "yes"
      }
    '';
  }
#+end_src