all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Walter Franzini <walter.franzini@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: gnu-system-demo feedback
Date: Wed, 16 Oct 2013 18:57:23 +0200	[thread overview]
Message-ID: <871u3lcfws.fsf@gnu.org> (raw)
In-Reply-To: <878uxtnqji.fsf@walter-nb.nord-com.it> (Walter Franzini's message of "Wed, 16 Oct 2013 18:12:17 +0200")

Walter Franzini <walter.franzini@gmail.com> skribis:

> On Wed, Oct 16 2013, Ludovic Courtès wrote:
>
> [...]
>
>> The files in /etc are symlinks to files under /nix/store, and it’s those
>> files that were removed.  The symlinks were still there, just dangling.
>
> I'm unable to find information about handling of local modification to
> configuration files.

The idea (this is WIP) is to use a purely declarative approach à la
NixOS (see <http://nixos.org/nixos/docs.html>.)

Under this approach, administrators declare all the specifics of the
system-wide configuration: what user accounts are available, what the
default locale is, what file systems are mounted, which services are
started, etc.

The configuration can be “instantiated” and used.  When the admin wants
to change something in the system config, they adjust the declaration
accordingly, instantiate the new configuration, and switch to it.

The obvious advantages of this declarative approach are: control
(there’s a direct mapping from the declaration to its on-disk
instantiation), transactional configuration upgrade, and the ability to
roll back (it’s just a matter of referring to the files that resulted
from the previous instantiation.)

You can look at the (somewhat ugly) ‘system-qemu-image’ procedure in
gnu/system/vm.scm to get an idea of what this looks like here.  It
contains declarations of system services, user accounts, and so on.

HTH,
Ludo’.

  reply	other threads:[~2013-10-16 16:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-12 21:36 gnu-system-demo feedback Walter Franzini
2013-10-14 12:45 ` Ludovic Courtès
2013-10-14 16:20   ` Walter Franzini
2013-10-14 20:10     ` Ludovic Courtès
2013-10-16 13:12       ` Ludovic Courtès
2013-10-16 16:12         ` Walter Franzini
2013-10-16 16:57           ` Ludovic Courtès [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-10-13 18:43 Walter Franzini

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=871u3lcfws.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=walter.franzini@gmail.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.