aboutsummaryrefslogtreecommitdiff
path: root/macos.local/.flake/home/services/mpd.nix.org
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-13 22:42:40 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-13 22:42:40 -0600
commit5fce4b6474ffcd616aeb533a55d9729bdeac5cd9 (patch)
tree6e2e463886efff2f26e188820584989404a720c4 /macos.local/.flake/home/services/mpd.nix.org
parent67e703b623dd69eb642e672ddb1d79ea81dc307a (diff)
system changes
Diffstat (limited to 'macos.local/.flake/home/services/mpd.nix.org')
-rw-r--r--macos.local/.flake/home/services/mpd.nix.org21
1 files changed, 21 insertions, 0 deletions
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