From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ONYQMYvJiGH1hAEAgWs5BA (envelope-from ) for ; Mon, 08 Nov 2021 07:54:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ePCXLIvJiGEFfAAAbx9fmQ (envelope-from ) for ; Mon, 08 Nov 2021 06:54:03 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 39C7532821 for ; Mon, 8 Nov 2021 07:54:03 +0100 (CET) Received: from localhost ([::1]:44530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjyXZ-0000Rp-V2 for larch@yhetil.org; Mon, 08 Nov 2021 01:54:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjyWH-0007oh-F7 for help-guix@gnu.org; Mon, 08 Nov 2021 01:52:41 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:31899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjyWC-0003VL-4Z for help-guix@gnu.org; Mon, 08 Nov 2021 01:52:41 -0500 Date: Mon, 08 Nov 2021 06:52:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636354353; bh=z2AW1FToGn7StK3lt1bgZrFXM0v4m13yvOn4x1yQS88=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=jnX7d2QJg1Bvqy+l10d9HVDhiG0kfYu5E2UWS8gGiat5nz7dMY+aMUgxTDPLeoiPO FFwJ5PzXccXEc++9J77OKe6k2pVGcR42x1VFSA0DhlkZPswPdm3MXPnTU3aBk5coEz /ezDOezdHVbaU2ogqLts2Kk+LcD0t4YiF5KwKOFg= To: Andrew Tropin From: phodina Cc: help-guix Subject: Re: Guix system with home-environment Message-ID: In-Reply-To: <871r3x7kun.fsf@trop.in> References: <871r3x7kun.fsf@trop.in> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636354443; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z2AW1FToGn7StK3lt1bgZrFXM0v4m13yvOn4x1yQS88=; b=NUV8mImxzAm/NeCxtD9t8QibHvZ5Oe654JwoDKPRBSD7eyJjyJ/+Ir/XeXB3ZJoOjLS91y 5HqVD2V+9p7szx/9WVn2uymGVaCteS5LI1VziciwYp8yzpMyymATW9G/EAWOMcxOriZxv4 N3459jH6XNJWRtQ5+fsFO5QiZchkvCx0UMoCvW7konz5WApm7P6V1kMGlRgrz6sTvQD80+ xDgXEAKS070AZ5hVAiWDKFmO3oFdrYDhJkxPAj7UTZ4Rbizf7aTT1DXx4w20uTS79/7Jle nwGBMF3W6NBKW6Q6dxdzo2x6pNeC3bzEb+SFAwUvDaH4h0JfeHouHj2+LTMUUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636354443; a=rsa-sha256; cv=none; b=DaEsn1TZV8lYkcG2i0N/VplB6/775PAXT0pwnYYDFQbsRCx4AkvP/x+Ap3kxa8aJLzhKm7 4bAzG0LgtzrYz/RbOuYPya+X0VTaP4ToqSu5vjycqqKlBV5Nf321EANedaKVBZ7eGrE4XA Dn6ikz+duLOqrGRj9Oyd9pK9MWZmZr0UW+v1qGdzJ4tyUXUmRUub/LMOsiTOjr+NjQeJvy QqIsZ8p7og1rtU96FYvJYcVM5u1ufZye9tQs8IoBlV6RzdS1Kn7BzFfzkQdpeuW8Vf5QA2 nTRfnyGo7mXDN/qWLRmn0pHnwbcM09WTzDhYa+uL0zzDhLSf3xOWAElzZnOGUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=jnX7d2QJ; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=jnX7d2QJ; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 39C7532821 X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: SH886VvoxFoD Hi Andrew, On Wednesday, November 3rd, 2021 at 8:35 AM, Andrew Tropin = 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 t= he 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 environ= ment. > > > > Would it be the correct way to add additional record to user-account de= finition, which would instantiate the home-environment for the particular u= ser? > > > > 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 pair= s (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 f= or 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