unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: phodina <phodina@protonmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Guix system with home-environment
Date: Fri, 10 Dec 2021 10:48:23 +0300	[thread overview]
Message-ID: <874k7gj3y0.fsf@trop.in> (raw)
In-Reply-To: <dNa-d6aFl5yeKtdvNyA_c1RprO3c8wPwZfZ_ygv5-7_GSX49dwZ8OAF1iMzCNYRt_hDILlfqGWRDqTtjr8DJbeV8svQ66xbW-epa1-xo6ks=@protonmail.com>

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

On 2021-11-08 06:52, phodina wrote:

> Hi Andrew,
>
> On Wednesday, November 3rd, 2021 at 8:35 AM, Andrew Tropin <andrew@trop.in> wrote:
>
>> 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
>
> I was exactly thinking of a record in the operating system for list of pairs (user and home-environment) as you suggest.
>
> Though then it hit me - it's already there in user accounts.
>
> Therefore why introduce complexity and not just modify them by one record for each user set by default to false.
>
> Sure it's major modification but in order to get the functionality it will have to modify either users or operating-system (or another field within).
>
> I understand it's low priority, I just wanted your opinion on this matter.
>
> I'll look into that and try to come up with some implementation.
>
> Petr

Hi,

Do you have any developments or additional thoughts on this matter?

I have plans to implement it, so we can generate iso or VM image with
home-environment inside.

-- 
Best regards,
Andrew Tropin

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

  parent reply	other threads:[~2021-12-10  7:52 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
2021-11-08  6:52   ` phodina
2021-11-08  8:40     ` Andrew Tropin
2021-12-10  7:48     ` Andrew Tropin [this message]
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=874k7gj3y0.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).