diff options
author | Bruno Victal <mirai@makinata.eu> | 2023-03-23 15:02:16 +0000 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-24 11:01:01 -0400 |
commit | bc30a9ee889fb1b81c43a7f94ea4c2b95a15db75 (patch) | |
tree | c6a352a0feb7b946eaf2fdeef186683ef7e6bbfd /gnu/services/audio.scm | |
parent | 206446b4840279596b3b4522beaee43a3359133d (diff) | |
download | guix-bc30a9ee889fb1b81c43a7f94ea4c2b95a15db75.tar.gz guix-bc30a9ee889fb1b81c43a7f94ea4c2b95a15db75.zip |
services: mpd: Set PulseAudio-related variables.
These variables are necessary for PulseAudio to work properly out-of-the-box
for 'non-interactive' users.
* doc/guix.texi (Audio Services): Update environment-variables field description for
mpd-configuration data type.
* gnu/services/audio.scm (mpd-configuration)[environment-variables]: Set
PULSE_CLIENTCONFIG and PULSE_CONFIG environment variables to the system-wide
PulseAudio configuration.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/services/audio.scm')
-rw-r--r-- | gnu/services/audio.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm index 73aae9dfcf..4885fb8424 100644 --- a/gnu/services/audio.scm +++ b/gnu/services/audio.scm @@ -346,7 +346,8 @@ will depend on." empty-serializer) (environment-variables - (list-of-strings '()) + (list-of-strings '("PULSE_CLIENTCONFIG=/etc/pulse/client.conf" + "PULSE_CONFIG=/etc/pulse/daemon.conf")) "A list of strings specifying environment variables." empty-serializer) |