From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: New reconfigure, creating a file under /etc Date: Sun, 6 Oct 2019 19:12:02 -0700 Message-ID: <8380059A-EF24-49E5-8691-ACA5F5F9D1F2@asu.edu> References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43593) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHIVQ-0002Gh-W4 for help-guix@gnu.org; Sun, 06 Oct 2019 22:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHIVO-000515-7R for help-guix@gnu.org; Sun, 06 Oct 2019 22:12:12 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:36662) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHIVK-0004zs-N6 for help-guix@gnu.org; Sun, 06 Oct 2019 22:12:08 -0400 Received: by mail-pf1-x433.google.com with SMTP id y22so7655137pfr.3 for ; Sun, 06 Oct 2019 19:12:06 -0700 (PDT) In-Reply-To: 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: SuarezMiguelC Cc: "help-guix@gnu.org" 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))) >=20 > Trying to run this reconfigure will cause an error for 'more than one etc s= ervice' You will want to use modify-services to modify the existing etc-service in %= 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=20 (do-something-to conf))) Then you can append the new ones onto the modified services.=20 Hope that helps, John