[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to edit pulseaudio config file

From: Jakub Kądziołka
Subject: Re: Unable to edit pulseaudio config file
Date: Sat, 20 Jun 2020 19:38:32 +0200

On Fri, Jun 12, 2020 at 12:56:38AM -0500, Nathan Dehnel wrote:
> I made a modified config file in
> /home/nathan/.config/pulse/, and then added this to
> config.scm, per the manual:
> (service pulseaudio-service-type
>              (pulseaudio-configuration (script-file (file-append
> pulseaudio "/home/nathan/.config/pulse/"))))
> But guix system reconfigure gives:
> guix system: error: duplicate 'pulse' entry for /etc
> How do I fix this?

If you're using %desktop-services, they already contain a pulseaudio
service. You should use modify-services to change the configuration,
something like this should work:

(modify-services %desktop-services
  (pulseaudio-service-type config =>
      (inherit config)
      (script-file "/home/nathan/.config/pulse/"))))

Note that the file-append you've suggested would result in a path like

Jakub Kądziołka

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]