guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69781] [PATCH v2] services: Add the Guix Home Service


From: Ludovic Courtès
Subject: [bug#69781] [PATCH v2] services: Add the Guix Home Service
Date: Mon, 29 Apr 2024 12:14:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Richard,

Richard Sent <richard@freakingpenguin.com> skribis:

> This patch adds a Guix Home Service, which allows for configuring/deploying an
> operating-system declaration with an associated home-environment.
>
> * gnu/services/guix.scm: Add guix-home-service and guix-home-shepherd-service
> * gnu/home/services/shepherd.scm: Don't attempt to launch user shepherd when
> the system shepherd runs guix-home-<user>
> * doc/guix.texi: Add documentation for guix-home-service
> * gnu/tests/guix.scm: Add a test to verify guix-home-service-type is able to
> activate a home environment
>
> Change-Id: Ifbcc0878d934aa4abe34bb2123b5081fb432aa8e

I’m using it now, yay!!

I realized there are two issues:

  1. ‘guix system reconfigure’ installs ~/.guix-home, but it doesn’t run
     activation scripts.  So for instance, in my case, ~/.ssh/config
     would remain dangling, pointing to that installed by my previous
     Home generation, and Shepherd services were not reloaded.

  2. ‘guix home describe’ USN’t prepared to deal with that: it returns
     information from the last
     /var/guix/profiles/per-user/$USER/guix-home-*.

#1 is the most problematic.

Thoughts?

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]