From: Andrew Tropin <andrew@trop.in>
To: Sergey Trofimov <sarg@sarg.org.ru>
Cc: 62274@debbugs.gnu.org, paren@disroot.org,
"Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#62274] [PATCH] home: 'home-environment-with-provenance' uses the HE location info.
Date: Tue, 21 Mar 2023 17:38:47 +0400 [thread overview]
Message-ID: <871qliz0k8.fsf@trop.in> (raw)
In-Reply-To: <871qliffrs.fsf@sarg.org.ru>
[-- Attachment #1: Type: text/plain, Size: 2217 bytes --]
On 2023-03-21 13:22, Sergey Trofimov wrote:
> Hi Andrew,
>
> Andrew Tropin <andrew@trop.in> writes:
>
>> [[PGP Signed Part:Undecided]]
>> On 2023-03-20 20:03, Sergey Trofimov wrote:
>>
>>>
>>> You're right, the new signature is not used anywhere yet.
>>> Though
>>> I'm working on a patch to embed home profiles in disk images
>>> produced with `guix system image`. That's where this method
>>> comes
>>> handy, see example usage:
>>>
>>
>> Also, take a look at this thread:
>> https://yhetil.org/63960cf762aec1ed2c4182f49cac66bc37fce2aa.camel@rdmp.org
>>
>> and this prototype:
>> https://git.sr.ht/~abcdw/rde/tree/044de83e980b7038b87d27a090aef24229df85eb/src/gnu/services/home.scm#L1
>>
>> It can be related to what you want to achieve, whithout
>> modifying
>> image-related code.
>
> Brilliant! That's it. It didn't come to me that `home-environment`
> could be a dependency of `operating-system` and not of the image
> itself. And you also made the service to activate it, so no manual
> step is required. That's exactly what I have envisioned. What
> prevents you to mainline it? It seems you have already
> battle-tested it.
>
> The only concern is that I'd rather include
> `guix-home-service-type` only in the first generation of the
> system. I think that this tie between user envs and the operating
> system makes sense only on the first boot. Later on the users
> should be responsible (and able to) to maintain their environments
> independently.
There are a few issues I've not addressed yet:
1. User can login before activation finished. (Discussed in the
mentioned thread above).
2. Do we need to activate it on every system reconfigure? (Actually, I
used it mostly for creating rde live cd and vm images, so didn't test
much with system reconfigure or guix deploy. Also, I guess it would be
cool to add a one-shot? flag to the service for skeleton like
functionality/initial provisioning).
3. Probably something else I already forgot.
I still don't have enough spare time to clean it up, test and upstream,
but if you would like to finish this thing up, I would be very happy to
help!
--
Best regards,
Andrew Tropin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2023-03-21 13:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-19 15:45 [bug#62274] [PATCH] home: 'home-environment-with-provenance' uses the HE location info Sergey Trofimov
2023-03-20 6:52 ` bug#62274: " Andrew Tropin
2023-03-20 17:33 ` [bug#62274] " Ludovic Courtès
2023-03-20 19:03 ` Sergey Trofimov
2023-03-21 9:44 ` Ludovic Courtès
2023-03-21 10:56 ` Andrew Tropin
2023-03-21 12:22 ` Sergey Trofimov
2023-03-21 13:38 ` Andrew Tropin [this message]
2023-03-21 18:18 ` Sergey Trofimov
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=871qliz0k8.fsf@trop.in \
--to=andrew@trop.in \
--cc=62274@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=paren@disroot.org \
--cc=sarg@sarg.org.ru \
/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.