[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
Tue, 29 Aug 2017 12:10:13 +0200
mu4e 0.9.18; emacs 25.2.1
Ludovic Courtès <address@hidden> writes:
> 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.
When the system is “checked out” during boot, would it fail when
/etc/config.scm already exists? It certainly won’t just overwrite an
Also, this $profile/etc/config.scm would be read-only. So far we have
encouraged people to store their configuration file at /etc/config.scm.
If this service became a default then we probably should encourage
people to store their system config file template under version control
in the root user’s home directory (or similar), rather than recommending
the file to be placed in /etc.
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
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 <=
Re: Tip of the day: storing your GuixSD config in the instantiated system, Andreas Enge, 2017/08/29