MPD: Difference between revisions
Migrated services.mpd.extraConfig to services.mpd.settings with proper Nix attribute set syntax. |
m fix duplicate code block error |
||
| Line 133: | Line 133: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
services.mpd. | services.mpd.user = "userRunningPipeWire"; | ||
systemd.services.mpd.environment = { | |||
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/609 | |||
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> | ||