From: "Jakub Kądziołka" <kuba@kadziolka.net>
To: Nathan Dehnel <ncdehnel@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Unable to edit pulseaudio config file
Date: Sat, 20 Jun 2020 19:38:32 +0200 [thread overview]
Message-ID: <20200620173832.pb6ebm5izmopceqz@gravity> (raw)
In-Reply-To: <CAEEhgEs0X52f86jxtV15gzT1khvSLqMZ8MfkXv=6HnFWM2RxJw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
On Fri, Jun 12, 2020 at 12:56:38AM -0500, Nathan Dehnel wrote:
> I made a modified config file in
> /home/nathan/.config/pulse/default.pa, and then added this to
> config.scm, per the manual:
> https://guix.gnu.org/manual/en/html_node/Sound-Services.html
>
> (service pulseaudio-service-type
> (pulseaudio-configuration (script-file (file-append
> pulseaudio "/home/nathan/.config/pulse/default.pa"))))
>
> 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 =>
(pulseaudio-configuration
(inherit config)
(script-file "/home/nathan/.config/pulse/default.pa"))))
Note that the file-append you've suggested would result in a path like
/gnu/store/...-pulseaudio/home/nathan/.config/pulse/default.pa
Regards,
Jakub Kądziołka
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2020-06-20 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 5:56 Unable to edit pulseaudio config file Nathan Dehnel
2020-06-20 17:38 ` Jakub Kądziołka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200620173832.pb6ebm5izmopceqz@gravity \
--to=kuba@kadziolka.net \
--cc=help-guix@gnu.org \
--cc=ncdehnel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).