all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Soo <jsoo1@asu.edu>
To: sirgazil <sirgazil@zoho.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: guix system reconfigure /etc/config.scm or my-config.scm
Date: Wed, 8 May 2019 12:16:55 -0700	[thread overview]
Message-ID: <0B49BD3C-A404-4DEE-973E-AFF3B44EC3AB@asu.edu> (raw)
In-Reply-To: <16a98cbc6fc.fa86dbd584984.5190119233371485256@zoho.com>

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. 

Hope that helps,

John

> On May 8, 2019, at 11:54 AM, sirgazil <sirgazil@zoho.com> wrote:
> 
> 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 suggests that in a freshly installed system you can:¹
> 
>    $ 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 running ²
> 
>    $ 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 ‘guix system reconfigure’.  One should never have to
>    touch files in ‘/etc’ or to run commands that modify the system state
>    such as ‘useradd’ or ‘grub-install’.  In fact, you must avoid that since
>    that would not only void your warranty but also prevent you from rolling
>    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-Installation.html#Guided-Graphical-Installation
> 2. https://www.gnu.org/software/guix/manual/en/html_node/Using-the-Configuration-System.html#Instantiating-the-System
> 
> 
> ---
> https://sirgazil.bitbucket.io/
> 
> 
> 
> 
> 

  reply	other threads:[~2019-05-08 19:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-08 18:54 guix system reconfigure /etc/config.scm or my-config.scm sirgazil
2019-05-08 19:16 ` John Soo [this message]
2019-05-09  0:46   ` sirgazil
2019-05-08 19:18 ` Tobias Geerinckx-Rice
2019-05-09  0:50   ` sirgazil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0B49BD3C-A404-4DEE-973E-AFF3B44EC3AB@asu.edu \
    --to=jsoo1@asu.edu \
    --cc=help-guix@gnu.org \
    --cc=sirgazil@zoho.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.