GNU bug report logs - #62274
[PATCH] home: 'home-environment-with-provenance' uses the HE location info.

Previous Next

Package: guix-patches;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Sun, 19 Mar 2023 15:46:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 62274 <at> debbugs.gnu.org (full text, mbox):

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: Andrew Tropin <andrew <at> trop.in>
Cc: 62274 <at> debbugs.gnu.org, paren <at> disroot.org,
 Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#62274: [PATCH] home: 'home-environment-with-provenance'
 uses the HE location info.
Date: Tue, 21 Mar 2023 13:22:14 +0100
Hi Andrew,

Andrew Tropin <andrew <at> 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 <at> 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.




This bug report was last modified 2 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.