MPD: Difference between revisions
imported>Joeriexelmans Restructure article + add section on PipeWire |
imported>Makefu m use uid of pipewire user instead of guessing the number |
||
Line 113: | Line 113: | ||
systemd.services.mpd.environment = { | systemd.services.mpd.environment = { | ||
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609 | # https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609 | ||
XDG_RUNTIME_DIR = "/run/user/ | XDG_RUNTIME_DIR = "/run/user/${toString config.users.users.userRunningPipeWire.uid}"; # User-id must match above user. MPD will look inside this directory for the PipeWire socket. | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> |