From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: New reconfigure, creating a file under /etc Date: Mon, 7 Oct 2019 08:30:32 +0200 Message-ID: References: <8380059A-EF24-49E5-8691-ACA5F5F9D1F2@asu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35397) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHMXi-0001Vw-3A for help-guix@gnu.org; Mon, 07 Oct 2019 02:30:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHMXf-0002fL-KJ for help-guix@gnu.org; Mon, 07 Oct 2019 02:30:49 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:44152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHMXf-0002ex-9E for help-guix@gnu.org; Mon, 07 Oct 2019 02:30:47 -0400 Received: by mail-ed1-x530.google.com with SMTP id r16so11254327edq.11 for ; Sun, 06 Oct 2019 23:30:46 -0700 (PDT) In-Reply-To: <8380059A-EF24-49E5-8691-ACA5F5F9D1F2@asu.edu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: John Soo Cc: help-guix , SuarezMiguelC John Soo ezt =C3=ADrta (id=C5=91pont: 2019. okt. 7., H=C3= =A9t 4:12): > Hi there, > > > (services > > (append > > (list (service gnome-desktop-service-type) > > (service etc-service-type > > (list `("os-release" ,(plain-file "os-release" > > "PRETTY_NAME=3DGuix-System")))) > > (set-xorg-configuration > > (xorg-configuration > > (keyboard-layout keyboard-layout)))) > > %desktop-services))) > > > > Trying to run this reconfigure will cause an error for 'more than one > etc service' > > You will want to use modify-services to modify the existing etc-service i= n > %desktop-services. Check out the services reference in the manual: > https://guix.gnu.org/manual/en/html_node/Service-Reference.html > > An example might be: > > (modify-services %desktop-services > (etc-service-type conf > (do-something-to conf))) > > Then you can append the new ones onto the modified services. > If you just want to add a file, you could extend it using extra-special-file. > > > Hope that helps, > > John > > >