[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tip of the day: storing your GuixSD config in the instantiated syste
Re: Tip of the day: storing your GuixSD config in the instantiated system
Mon, 28 Aug 2017 19:46:13 +0300
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Ludovic Courtès (2017-08-28 14:04 +0200) wrote:
> Hi Mekeor,
> (I think you forgot to Cc: the list.)
> Mekeor Melire <address@hidden> skribis:
>> Ludovic Courtès <address@hidden> writes:
>>> Hello Guix!
>>> Following a discussion we had at the GHM today, here’s the tip of the
>> Greetings to everyone at GHM!
>>> But wait: we can already store the config file in the instantiated
>>> system! Here’s how:
>>> ;; …
>>> (services (cons (simple-service 'store-my-config
>>> ,(local-file (assoc-ref
>>> You instantiate that, and then /etc/config.scm (aka.
>>> aka. /var/guix/profiles/system/etc/config.scm) contains the config file.
>> Because of the frequent demand for it, I think it would make sense to
>> offer this as pre-defined service by default, as part of Guix itself.
>> What do you think?
I was going to write the same: I also think it would be good to make
this service the default one, so that we can always point a user to the
system config the current system was reconfigured with.
Re: Tip of the day: storing your GuixSD config in the instantiated system, Alex Kost, 2017/08/28
Re: Tip of the day: storing your GuixSD config in the instantiated system, Ricardo Wurmus, 2017/08/29
Re: Tip of the day: storing your GuixSD config in the instantiated system, Andreas Enge, 2017/08/29