diff options
author | pinoaffe <pinoaffe@airmail.cc> | 2020-04-28 13:29:59 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2020-04-28 12:32:12 +0100 |
commit | 2b7dd35b5b012b95baabf703555f077294c51e63 (patch) | |
tree | fb10b21706fb1493773aa97944b6c7e138e6c30d /doc/guix.texi | |
parent | 545e12f40dcd8cfc779e8802dadead7a7cdc8364 (diff) | |
download | patches-series-3716.tar patches-series-3716.tar.gz |
services: mpd: Allow authentication and permissions to be configured.series-3716
* gnu/services/audio.scm (mpd-credential): New public variable.
* gnu/services/audio.scm (mpd-configuration): Add credentials
and permissions.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index f779281e05..3f26971985 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -23271,13 +23271,36 @@ an absolute path can be specified here. @item @code{outputs} (default: @code{"(list (mpd-output))"}) The audio outputs that MPD can use. By default this is a single output using pulseaudio. +@item @code{default-permissions} (default: @code{'(read add control admin)}) +The permissions a user that connected to the mpd server without a password should enjoy. +Should be a subset of @code{'(read add control admin)}. + +@item @code{credentials} (default: @code{'()}) +The list of credentials one can use to sign in to mpd and gain extra permissions. By +default this is an empty list. + @end table @end deftp +@deftp {Data Type} mpd-credential +Data type representing an @command{mpd} password/permissions pair. + @deftp {Data Type} mpd-output Data type representing an @command{mpd} audio output. @table @asis +@item @code{password} (default: @code{""}) +The password used to authenticate. The password may not contain "@". + +@item @code{permissions} (default: @code{'()}) +The permissions one gains after authenticating to the server using @code{password}. +This should be a subset of @code{'(read add control admin)}, as in +@code{default-permissions}. + +@end table +@end deftp + +@table @asis @item @code{name} (default: @code{"MPD"}) The name of the audio output. |