unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Tip of the day: storing your GuixSD config in the instantiated system
Date: Tue, 29 Aug 2017 12:30:19 +0200	[thread overview]
Message-ID: <20170829103019.GA1516@jurong> (raw)
In-Reply-To: <871snzfl4s.fsf@gnu.org>

On Fri, Aug 25, 2017 at 10:27:47PM +0200, Ludovic Courtès wrote:
> But wait: we can already store the config file in the instantiated
> system!  Here’s how:

That is an exciting trick, thank you, Ludovic!

As for making it a "default", this could be done in two ways:
- Add it as a service to %base-services.
- Add it to the configuration templates.
I am more in favour of the first option, as it puts less clutter into
the configuration file.

As Ricardo, I do not think we should leave out the argument to
"guix system reconfigure" - this is too much automation in my opinion,
it is good if users explicitly provide their desired configuration.
And if it is only a matter of adding "/etc/config.scm" to express that
nothing has changed and that just an update of the same packages and
services is to be done, then this can be done easily now.

Andreas

  parent reply	other threads:[~2017-08-29 10:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 20:27 Tip of the day: storing your GuixSD config in the instantiated system Ludovic Courtès
     [not found] ` <87a82mp2jq.fsf@gmail.com>
2017-08-28 12:04   ` Ludovic Courtès
2017-08-28 16:46     ` Alex Kost
2017-08-28 20:23       ` Peter Mikkelsen
2017-08-29  8:10         ` ng0
2017-08-29  9:26           ` Peter Mikkelsen
2017-08-29 10:13         ` Ricardo Wurmus
2017-08-28 16:41 ` Alex Kost
2017-08-29 10:10 ` Ricardo Wurmus
2017-08-29 22:20   ` Ludovic Courtès
2017-08-29 10:30 ` Andreas Enge [this message]
2017-08-29 22:42   ` Ludovic Courtès
2017-08-30 16:07     ` Andreas Enge
2017-08-30 21:25       ` Ricardo Wurmus

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20170829103019.GA1516@jurong \
    --to=andreas@enge.fr \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).