From 174e2038f8e6273003c9c25aa475fd96f10ddf3a Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sun, 24 May 2026 14:55:39 +0200 Subject: Fixed mpd service configuration --- system/services.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/services.nix b/system/services.nix index 70d602a..c05e3b1 100644 --- a/system/services.nix +++ b/system/services.nix @@ -16,13 +16,21 @@ # Setup MPD as the backend of RMPC mpd = { enable = true; + user = "mun"; musicDirectory = "/home/mun/Music"; extraConfig = '' audio_output { type "pipewire" - name "PipeWire" + name "PipeWire" + } + audio_output { + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" + format "44100:16:2" } ''; }; }; + systemd.services.mpd.environment.XDG_RUNTIME_DIR = "/run/user/1000"; } -- cgit v1.2.3