diff options
Diffstat (limited to 'system/services.nix')
| -rw-r--r-- | system/services.nix | 10 |
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"; } |
