From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8NEJAqpJ7l5NWgAA0tVLHw (envelope-from ) for ; Sat, 20 Jun 2020 17:38:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4EhwOalJ7l7sCQAA1q6Kng (envelope-from ) for ; Sat, 20 Jun 2020 17:38:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A525940AF4 for ; Sat, 20 Jun 2020 17:38:49 +0000 (UTC) Received: from localhost ([::1]:38448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmhS2-0005EQ-QI for larch@yhetil.org; Sat, 20 Jun 2020 13:38:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmhRv-0005EG-4E for help-guix@gnu.org; Sat, 20 Jun 2020 13:38:39 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:39288) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmhRs-0006HE-VN for help-guix@gnu.org; Sat, 20 Jun 2020 13:38:38 -0400 Received: (qmail 16901 invoked by uid 1009); 20 Jun 2020 19:38:33 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.060085 secs); 20 Jun 2020 17:38:33 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 20 Jun 2020 19:38:33 +0200 Date: Sat, 20 Jun 2020 19:38:32 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Nathan Dehnel Subject: Re: Unable to edit pulseaudio config file Message-ID: <20200620173832.pb6ebm5izmopceqz@gravity> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zs7stxfezwoxwviw" Content-Disposition: inline In-Reply-To: Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/20 13:38:34 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: z6yhBMN1jLWP --zs7stxfezwoxwviw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > (service pulseaudio-service-type > (pulseaudio-configuration (script-file (file-append > pulseaudio "/home/nathan/.config/pulse/default.pa")))) >=20 > But guix system reconfigure gives: >=20 > guix system: error: duplicate 'pulse' entry for /etc >=20 > 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 =3D> (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=C4=85dzio=C5=82ka --zs7stxfezwoxwviw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7uSZcACgkQ4xWnWEYT FWSvaQ//eFUurYoJRGCiDt8+/Y06fHvMnDwJZtnzOge4sJbx+cFcbHEfOfk/OqMh JHyy7UdmCESaqfGHn86+dPhPghhpUqmsHvNnkI8F8mLUGulehVssVuqkisdpIA9L 5pGV3IqhvKkr0bFMz/stjiqOaC+GzzyTjOWgShLEe/437CwF/vmp0MiqC4Jj1EK3 FoH/yohK/CxvqA2gOLSP1L5L9UmDTzj2ooIDgcf1i6ug41eqweH82ENqGMxeYWvi e9tjYRJDAvPOArtZaSpkH6I0SEtf15aIXygWUASBhHt+9L0HPL4hsKze4MTuQDIf szhbC/tl23EuQDVWMlu1ZXRCj1KNohzuQjOAI+uLDfggzM4pBBpD10f8dMYO1D5p 7nY+Crm9XEnhW7AfMgqYg/XEaQ1jyzvGHFQRaYt3SX5+jjtdFk4wJ3izrMJrIhft xH1Qa0rUGN/hq7Gb1lH4kXQtuY1GLvn20VBj4+e3BL72OarnRkRN7Zw2cB6XkDRp RoQ6YnJ9OROCUt5eCfqv6/sloXiiQAo2fgOpaB0nDseclvyAA5T6KRKnwTU/r+Sk Pxx6XEhWfWucly5DzekJJw8mQVvLDJgYvHIKPnkBiLFbDefb4El5v4sNMr6ZD3qo ExLxw6MRVYe2URD2cAF8gRxIl/8xE8sHbzQd6pg1BRlLAGxYnqQ= =C3JS -----END PGP SIGNATURE----- --zs7stxfezwoxwviw--