mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user