aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/sound.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-30 22:24:02 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-01 21:48:01 -0500
commitfff4daa5c2bfbf42c7ad2519f500bd254ce880a8 (patch)
tree4266277106b4dd231cf78d6ebfa0d6c6101a77a0 /gnu/services/sound.scm
parente301f1a8ed11f9eacb2b7f525a7446dc00621a8b (diff)
downloadguix-fff4daa5c2bfbf42c7ad2519f500bd254ce880a8.tar
guix-fff4daa5c2bfbf42c7ad2519f500bd254ce880a8.tar.gz
services/sound: Add a udev extension for the pulseaudio service type.
PulseAudio provides udev rules used to adjust the configuration of certain hardware (e.g., sound cards); ensure they get used. * gnu/services/sound.scm (pulseaudio-service-type): Extend the udev-service-type with the pulseaudio package.
Diffstat (limited to 'gnu/services/sound.scm')
-rw-r--r--gnu/services/sound.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm
index 1217223a0c..03e62a1e36 100644
--- a/gnu/services/sound.scm
+++ b/gnu/services/sound.scm
@@ -159,7 +159,8 @@ ctl.!default {
(extensions
(list (service-extension session-environment-service-type
pulseaudio-environment)
- (service-extension etc-service-type pulseaudio-etc)))
+ (service-extension etc-service-type pulseaudio-etc)
+ (service-extension udev-service-type (const (list pulseaudio)))))
(default-value (pulseaudio-configuration))
(description "Configure PulseAudio sound support.")))