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.
This commit is contained in:
Maxim Cournoyer 2022-01-30 22:24:02 -05:00
parent e301f1a8ed
commit fff4daa5c2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -159,7 +159,8 @@ (define pulseaudio-service-type
(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.")))