From 5fce4b6474ffcd616aeb533a55d9729bdeac5cd9 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Mon, 13 Jan 2025 22:42:40 -0600 Subject: system changes --- macos.local/.flake/home/services/mpd.nix.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 macos.local/.flake/home/services/mpd.nix.org (limited to 'macos.local/.flake/home/services/mpd.nix.org') diff --git a/macos.local/.flake/home/services/mpd.nix.org b/macos.local/.flake/home/services/mpd.nix.org new file mode 100644 index 0000000..6d9d6de --- /dev/null +++ b/macos.local/.flake/home/services/mpd.nix.org @@ -0,0 +1,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 -- cgit v1.2.3