From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: guix system reconfigure /etc/config.scm or my-config.scm Date: Wed, 8 May 2019 12:16:55 -0700 Message-ID: <0B49BD3C-A404-4DEE-973E-AFF3B44EC3AB@asu.edu> References: <16a98cbc6fc.fa86dbd584984.5190119233371485256@zoho.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOS3y-0004sx-NF for help-guix@gnu.org; Wed, 08 May 2019 15:17:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOS3x-0008SK-AS for help-guix@gnu.org; Wed, 08 May 2019 15:17:10 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:46974) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOS3v-0008Pq-Eh for help-guix@gnu.org; Wed, 08 May 2019 15:17:08 -0400 Received: by mail-pf1-x42d.google.com with SMTP id y11so492233pfm.13 for ; Wed, 08 May 2019 12:17:06 -0700 (PDT) In-Reply-To: <16a98cbc6fc.fa86dbd584984.5190119233371485256@zoho.com> 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: sirgazil Cc: help-guix Hi there, I do exactly what you said: $ emacs /path/to/my/config.scm $ sudo suix system reconfigure /path/to/my/config.scm No need to keep it in /etc.=20 Hope that helps, John > On May 8, 2019, at 11:54 AM, sirgazil wrote: >=20 > Hi, >=20 > I'm reading the Guix manual, and I'm confused about the recommended way to= reconfigure the system. >=20 > The workaround added recently to the "Graphical Installation" section sugg= ests that in a freshly installed system you can:=C2=B9 >=20 > $ sudo emacs /etc/config.scm > Modify the file to your liking > $ guix pull && sudo guix system reconfigure /etc/config.scm >=20 > But the "System Configuration" section seems to recommend against touching= files in "/etc". The "Instantiating the System" subsection talks about runn= ing =C2=B2 >=20 > $ guix system reconfigure my-system-config.scm >=20 > This subsection also reads: >=20 > The normal way to change the system configuration is by updating this > file and re-running =E2=80=98guix system reconfigure=E2=80=99. One sho= uld never have to > touch files in =E2=80=98/etc=E2=80=99 or to run commands that modify th= e system state > such as =E2=80=98useradd=E2=80=99 or =E2=80=98grub-install=E2=80=99. I= n fact, you must avoid that since > that would not only void your warranty but also prevent you from rollin= g > back to previous versions of your system, should you ever need to. >=20 > So, should one do the following instead? >=20 > $ emacs ~/path/to/my-config.scm > Modify the file to your liking > $ guix pull && sudo guix system reconfigure ~/path/to/my-config.scm >=20 >=20 >=20 > Footnotes: >=20 > 1. https://www.gnu.org/software/guix/manual/en/html_node/Guided-Graphical-= Installation.html#Guided-Graphical-Installation > 2. https://www.gnu.org/software/guix/manual/en/html_node/Using-the-Configu= ration-System.html#Instantiating-the-System >=20 >=20 > --- > https://sirgazil.bitbucket.io/ >=20 >=20 >=20 >=20 >=20