1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: mpd-service-type: Add to the `audio' group.

Also, add `audio' to %mpd-user’s supplementary groups.  Without membership in
the `audio' group, MPD can’t access the sound hardware.

Fixes guix/guix#4136.

* gnu/services/audio.scm (%mpd-user): Add `audio' supplementary group.

Change-Id: I86c9990d516301c85eeee125bc9d0f44c73612c6
This commit is contained in:
Ian Eure
2025-11-08 15:22:20 -08:00
parent 701a498b42
commit d780c4c1cc

View File

@@ -188,6 +188,7 @@
(user-account
(name "mpd")
(group (user-group-name %mpd-group))
(supplementary-groups '("audio"))
(system? #t)
(comment "Music Player Daemon (MPD) user")
;; MPD can use $HOME (or $XDG_CONFIG_HOME) to place its data.