From: "(" <paren@disroot.org>
To: Christian Miller <miller.christian@proton.me>
Cc: guix-devel@gnu.org
Subject: Re: Guix system init but for guix home
Date: Fri, 04 Aug 2023 20:40:53 +0100 [thread overview]
Message-ID: <87pm42oamr.fsf@disroot.org> (raw)
In-Reply-To: <ScNUEovtOkWCyqUoylHPok_8TmXF4W6nuovEOTkgR8gEFOnxyJZQ0-t89YIOXuwYxmjqOuUkD16wtZmKLUbbkw2AwO7qI3Eq3lJUSuScSvc=@proton.me>
Christian Miller <miller.christian@proton.me> writes:
> Basically my idea would be, that I am on the live ISO and run guix system init
> [...] and after that I would run guix home init home.scm /mnt or something like
> that. Now if I reboot in to the actual system, I have my complete setup with
> EXWM and Emacs completely configured and ready to go.
Something that would cover this use case be a HOME-ENVIRONMENT field for
user-accounts in /etc/config.scm:
(user-account
(name "paren")
...
(home-environment
...))
which could either be a file-like that evaluates to a Scheme file that
returns a HOME-ENVIRONMENT object, or a HOME-ENVIRONMENT by itself:
;; with local-file
(home-environment
(local-file
(string-append (dirname (get-current-filename))
"/home-paren.scm")))
;; with home-environment
(home-environment
(home-environment
(services (cons* ...))
(packages (list ...))))
-- (
next prev parent reply other threads:[~2023-08-04 19:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-04 19:12 Guix system init but for guix home Christian Miller
2023-08-04 19:40 ` ( [this message]
2023-08-08 12:53 ` (
2023-08-13 5:45 ` Andrew Tropin
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=87pm42oamr.fsf@disroot.org \
--to=paren@disroot.org \
--cc=guix-devel@gnu.org \
--cc=miller.christian@proton.me \
/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.