all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Edouard Klein <edou@rdklein.fr>
To: "Kristoffer Ström" <kristoffer@rymdkoloni.se>
Cc: help-guix@gnu.org
Subject: Re: Questions about guix-home-service-type for multi-user systems
Date: Thu, 05 Dec 2024 12:11:59 +0100	[thread overview]
Message-ID: <87y10uwfgk.fsf@rdklein.fr> (raw)
In-Reply-To: <87y10vrymk.fsf@rymdkoloni.se>

The way I work around this is to use (guix-for-channels ...) in the
sytem's configuration, and never guix pull. The only guix is the
system's: /run/current-system/profile/bin/guix


Kristoffer Ström <kristoffer@rymdkoloni.se> writes:

> Hello, I am running a multi-user system, and use guix-home-service-type
> to setup the user home directories.
>
> One of the users is the "main" user (A) that handle the guix pull, the
> editing and setup of system configuration files etc, the other (B) is a user
> account that should just be managed by user A.
>
> The problem i'm having is that the packages that user B sees, seems to
> be independent of running guix pull and a subsequent sudo -E guix system
> reconfigure on user A.
>
> Relative lines from reconfigure:
>
> shepherd: Service user-homes has been started.
> shepherd: Starting service guix-home-b...
> shepherd: Service guix-home-b has been started.
>
> When i run this in a virtual machine, the user B is instantiated with
> the latest version of all packages, however it seems there is some state
> persisting in user B that prevents it from seeing the latest version of
> packages as provided by the pull and system reconfigure.
>
> I do not want to run an extra guix pull in user B, since this feels like
> a waste of resources, and i do want the profiles to be always in sync.
>
> Is there some option i'm missing?
>
> Best, Kristoffer Ström.


  reply	other threads:[~2024-12-05 11:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 20:17 Questions about guix-home-service-type for multi-user systems Kristoffer Ström
2024-12-05 11:11 ` Edouard Klein [this message]
2024-12-06 20:00   ` Tomas Volf
2024-12-06 20:19     ` Kristoffer Ström
2024-12-07 23:08       ` Tomas Volf

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=87y10uwfgk.fsf@rdklein.fr \
    --to=edou@rdklein.fr \
    --cc=help-guix@gnu.org \
    --cc=kristoffer@rymdkoloni.se \
    /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.