From: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
To: help-guix@gnu.org
Subject: Automated /etc/config.scm
Date: Sun, 26 May 2024 15:58:23 +0200 [thread overview]
Message-ID: <22299782.EfDdHjke4D@akashi> (raw)
[-- Attachment #1: Type: text/plain, Size: 997 bytes --]
While pursuing a solution to another problem I saw some documentation which
inspired me to question whether it is possible to have an operating-system
configuration which injects itself into the /etc/config.scm file.
Currently the content of my /etc/config.scm file reflects the state of system
upon installation, as I had always used my git repository to manage the system
configuration files.
I have already built the infrastructure to host my configurations on my home
server. I would like now to ditch the configuration repositories' clones in
the home directories on my computers and rely entirely on the combination of
the system-wide channels (this I have implemented) and the /etc/config.scm
file.
Is there a way to have 'guix pull' edit the /etc/config.scm file to mirror the
designated system configuration file? I assume that any module imports are
handled by an existing guix infrastructure, because I had no need to use the
-L switch during reconfigurations for a while.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2024-05-26 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-26 13:58 Marek Paśnikowski [this message]
2024-05-26 18:03 ` Automated /etc/config.scm David Larsson
2024-05-26 18:41 ` Marek Paśnikowski
2024-05-26 20:51 ` Richard Sent
2024-05-27 3:41 ` Marek Paśnikowski
2024-05-27 16:31 ` Richard Sent
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=22299782.EfDdHjke4D@akashi \
--to=marek@marekpasnikowski.pl \
--cc=help-guix@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.
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.