unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Lars Rustand <rustand.lars@gmail.com>
To: help-guix@gnu.org
Cc: "Kristoffer Ström" <kristoffer@rymdkoloni.se>
Subject: Re: Include home environment in image
Date: Fri, 19 Jan 2024 12:31:25 +0100	[thread overview]
Message-ID: <87a5p1ft3x.fsf@yoga.mail-host-address-is-not-set> (raw)
In-Reply-To: <87y1daq8eg.fsf@rymdkoloni.se>


Kristoffer Ström <kristoffer@rymdkoloni.se> writes:

> I would love to know this as well. I've not found any examples in the
> wild that are not tied into other distributions (RDE).

Thanks for pointing me in the right direction! After doing some digging
in RDE sources I found the `guix-home-service-type` which does exactly
what I want. Using it is as simple as adding RDE as a channel and adding
the following to your system config:

(use-modules (gnu services home))
...
(service guix-home-service-type
         `(,(cons
             "my-user"
             %my-home-environment)))

The service definition even seems to be fully self-contained and not
dependent on any other RDE code, so it should be possible to simply copy
the service definition into your own config without needing to add RDE
at all (although I have not tried this myself).

Maybe this could even be upstreamed into Guix proper? I think this would
be a very valuable addition.


  reply	other threads:[~2024-01-19 11:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-27  8:27 Include home environment in image Lars Rustand
2023-12-31 23:06 ` Kristoffer Ström
2024-01-19 11:31   ` Lars Rustand [this message]
2024-01-19 13:51     ` Richard
2024-01-19 13:59       ` Lars Rustand

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5p1ft3x.fsf@yoga.mail-host-address-is-not-set \
    --to=rustand.lars@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=kristoffer@rymdkoloni.se \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).