mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: pulseaudio: Fix /etc/pulse/default.pa not being used.
Fixes <https://issues.guix.gnu.org/60383>. * gnu/services/sound.scm (pulseaudio-etc): Produce daemon.conf unconditionally, with the correct default-script-file location. Produce client.conf unconditionally. Reported-by: Bruno Victal <mirai@makinata.eu>
This commit is contained in:
parent
bcd131dafb
commit
4ca649e978
1 changed files with 7 additions and 11 deletions
|
@ -204,17 +204,13 @@ (define pulseaudio-etc
|
|||
'()
|
||||
`(("default.pa.d" ,(extra-script-files->file-union
|
||||
extra-script-files))))
|
||||
,@(if (null? daemon-conf)
|
||||
'()
|
||||
`(("daemon.conf"
|
||||
,(apply mixed-text-file "daemon.conf"
|
||||
"default-script-file = " default-script-file "\n"
|
||||
(map pulseaudio-conf-entry daemon-conf)))))
|
||||
,@(if (null? client-conf)
|
||||
'()
|
||||
`(("client.conf"
|
||||
,(apply mixed-text-file "client.conf"
|
||||
(map pulseaudio-conf-entry client-conf))))))))))))
|
||||
("daemon.conf"
|
||||
,(apply mixed-text-file "daemon.conf"
|
||||
"default-script-file = /etc/pulse/default.pa\n"
|
||||
(map pulseaudio-conf-entry daemon-conf)))
|
||||
("client.conf"
|
||||
,(apply mixed-text-file "client.conf"
|
||||
(map pulseaudio-conf-entry client-conf))))))))))
|
||||
|
||||
(define pulseaudio-service-type
|
||||
(service-type
|
||||
|
|
Loading…
Reference in a new issue