From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: guix system reconfigure /etc/config.scm or my-config.scm Date: Wed, 08 May 2019 13:54:12 -0500 Message-ID: <16a98cbc6fc.fa86dbd584984.5190119233371485256@zoho.com> Mime-Version: 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]:57250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hORiH-0001PY-6o for help-guix@gnu.org; Wed, 08 May 2019 14:54:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hORiG-00026A-4H for help-guix@gnu.org; Wed, 08 May 2019 14:54:45 -0400 Received: from sender-pp-092.zoho.com ([135.84.80.237]:25409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hORiF-0001xN-Pi for help-guix@gnu.org; Wed, 08 May 2019 14:54:44 -0400 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: help-guix Hi, I'm reading the Guix manual, and I'm confused about the recommended way to = reconfigure the system. The workaround added recently to the "Graphical Installation" section sugge= sts that in a freshly installed system you can:=C2=B9 $ sudo emacs /etc/config.scm Modify the file to your liking $ guix pull && sudo guix system reconfigure /etc/config.scm But the "System Configuration" section seems to recommend against touching = files in "/etc". The "Instantiating the System" subsection talks about runn= ing =C2=B2 $ guix system reconfigure my-system-config.scm This subsection also reads: 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. So, should one do the following instead? $ emacs ~/path/to/my-config.scm Modify the file to your liking $ guix pull && sudo guix system reconfigure ~/path/to/my-config.scm Footnotes: 1. https://www.gnu.org/software/guix/manual/en/html_node/Guided-Graphical-I= nstallation.html#Guided-Graphical-Installation 2. https://www.gnu.org/software/guix/manual/en/html_node/Using-the-Configur= ation-System.html#Instantiating-the-System --- https://sirgazil.bitbucket.io/