aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-24 14:55:39 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-24 14:55:39 +0200
commit174e2038f8e6273003c9c25aa475fd96f10ddf3a (patch)
tree253543e4bc8069d3aa4d9c1660847e6548f23362
parente8f6668014a373573ee82dba32f04add8b08f343 (diff)
Fixed mpd service configuration
-rw-r--r--system/services.nix10
1 files changed, 9 insertions, 1 deletions
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";
}