mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06: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:
parent
701a498b42
commit
d780c4c1cc
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue