unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: phodina <phodina@protonmail.com>, help-guix <help-guix@gnu.org>
Subject: Re: Guix system with home-environment
Date: Wed, 03 Nov 2021 10:35:12 +0300	[thread overview]
Message-ID: <871r3x7kun.fsf@trop.in> (raw)
In-Reply-To: <oAxXXsZlWebD_hk38EhXwSGrbOe-oI3dK7Tri54u2abNeb2vnJJl8UHnY_KqGXjLou8Lyucv4RKg_dM2qJpttK53JRD73Xd0bfnX0nZzYG0=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

On 2021-11-02 11:38, phodina wrote:

> Hi,
>
> I just want to ask if it's possible to create an image which has both the operating-system and home-environment configuration together.
>
> Currently the way to build them is to do:
>
> ;; Guix System
> guix system build os.scm
>
> ;; Guix Home
> guix home build home.scm
>
> However, if I want to build and test a VM, I'm missing the home environment.
>
> Would it be the correct way to add additional record to user-account definition, which would instantiate the home-environment for the particular user?
>
> Or is there another way how to do that?
>
> Petr

Hi again!)

I have a plan to have a system service, which accepts list of pairs of
user name and home-environment and instantiates home environments for
these users during `guix system reconfigure`, but the task has a low
priority right now.  You can try to implement it yourself and send a
patch for review or can wait until someone will do it.

P.S. It doesn't have to be a separate service, maybe extending some
existing record with additional field will also work.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2021-11-03  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 11:38 Guix system with home-environment phodina via
2021-11-03  7:35 ` Andrew Tropin [this message]
2021-11-08  6:52   ` phodina
2021-11-08  8:40     ` Andrew Tropin
2021-12-10  7:48     ` Andrew Tropin
2021-12-13 12:34       ` phodina
2021-12-15  6:27         ` 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

  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=871r3x7kun.fsf@trop.in \
    --to=andrew@trop.in \
    --cc=help-guix@gnu.org \
    --cc=phodina@protonmail.com \
    /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).