From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SKevCxM+t2G3zwAAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 13:35:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ONQ8BxM+t2FtWwAAbx9fmQ (envelope-from ) for ; Mon, 13 Dec 2021 12:35:31 +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 B670D34F6B for ; Mon, 13 Dec 2021 13:35:30 +0100 (CET) Received: from localhost ([::1]:44714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwkYD-0001UA-Rl for larch@yhetil.org; Mon, 13 Dec 2021 07:35:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwkXi-0001S5-5s for help-guix@gnu.org; Mon, 13 Dec 2021 07:34:58 -0500 Received: from mail-40133.protonmail.ch ([185.70.40.133]:40005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwkXe-000474-NP for help-guix@gnu.org; Mon, 13 Dec 2021 07:34:57 -0500 Date: Mon, 13 Dec 2021 12:34:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1639398886; bh=qv/U9eprkb0J7uTCoN0y5bH9b/7yJrWBowFJjdO9bm8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=Tb3VqYdp8DAWY6igTAYqZbO1eMpFQGydUpfMicH0n2ttBNZHK0EdIvNuxfoyYbmkf ZJsOGlE8UvZdmpvvScGBA7BTWFdC69Ri/B7BgW3sOMzLBP26xoCyLi7kF8+woZROiE ToYJiL5ovYQt6aIPuL7wfu4vj2nbZsZlDqi0gUlCeFsLu/rubmVFjAyhvqPSkhsemU 3ZnoHoeX3DGQGGE0y+1lqch/kuxt+7fvWmNLb+2s8DSnZdQbFWcvkqEJJVX6R6/X47 FpYmy66r8D5RXJAw4Ma7RAE5VSk5gYhQGfbz+YFJGGxCs0Y2ifx5Gta71g+IJWXxLt aZ3BKFOb1i2nw== To: Andrew Tropin From: phodina Cc: help-guix Subject: Re: Guix system with home-environment Message-ID: <5QLhFA_mRiLczYhAC6C02zOG2p0H6pBbsVJaeTbckcFTYGljBFbH_vQvIlVgioCztagGTwv9yz5_Kk3IG06uiRBN5Rq8Po1b7UCqhCGMD_Q=@protonmail.com> In-Reply-To: <874k7gj3y0.fsf@trop.in> References: <871r3x7kun.fsf@trop.in> <874k7gj3y0.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.40.133; envelope-from=phodina@protonmail.com; helo=mail-40133.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=1639398930; 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=qv/U9eprkb0J7uTCoN0y5bH9b/7yJrWBowFJjdO9bm8=; b=r3jZeg3GWliY7S0npOaapBvuBkC7uew3jWD5IzJwrNvwGWoEJV3ekcB05rf6RBi4xFLHzJ aJ9zxgMfK+4MdlB2HHPCypMUGSB1BY2sKK3rkm2+f5AOrGFriI33WJ9Zq2W+/ibSx1uyAt vlWrf/hBxfWneQpdsSkF7oqum2eKgHOBK91Ff86nHjQVEGwtkyC550B9NjKRxq04eesTYD kkctxOU1AJh/i9bapGfK9/gUDAmijBnn4sRw+6IXIrOk4Y4cqO+lpifcahHgYqVnmjRvNk tWO1OWSfZ7u1GMK+A9TBpS2e0M3NhdczJYFNYpcvFtXuyq27jl0Mc79OGeu+Sw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639398930; a=rsa-sha256; cv=none; b=qwMM+mFrb8Dd88i4uxNN5Q12CDMXPedOWhGNUF7sm0CTsdjsxANN/9ZbeAAWQ3EXNwnTbb MXinPz4rRhM1DPy2okPHl/+8w1Gpr1y4ne+4wuMwjmAaScTa5llFG2xKwLodg+HISjqgq2 m186UFkLm05zcXqj6uYXO7+nnTX2PXTeA/cPneH8blVwhuYbAwSzrMmNrzW4sCGLL858Bx lXaLW5JTxz9LUD3RsyU5mkMoDHrz2zdBTu6bio/AE2qG9vhWt7DIIf2qipfAk7W5f4SU7+ HHWWTAU137/Ik/tjqxLTIght4lGq8Ae9mBUrYA+53zQNdkh7E9fmLDR9bBSEHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=Tb3VqYdp; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=Tb3VqYdp; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B670D34F6B X-Spam-Score: -4.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: axICyYlVq8en Hi Andrew, sorry for the late response. I've looked into the user-account record in gn= u/system/accounts.scm to add home-environment field and how the home-enviro= nment is instantiated in gnu/home/services.scm. However, I haven't implemented the functionality as of now. ---- Petr =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Friday, December 10th, 2021 at 8:48 AM, Andrew Tropin w= rote: > On 2021-11-08 06:52, phodina wrote: > > > Hi Andrew, > > > > On Wednesday, November 3rd, 2021 at 8:35 AM, Andrew Tropin andrew@trop.= in 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 bo= th the 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 env= ironment. > > > > > > > > Would it be the correct way to add additional record to user-accoun= t definition, which would instantiate the home-environment for the particul= ar user? > > > > > > > > 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 o= f > > > > > > 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 = pairs (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 reco= rd for each user set by default to false. > > > > Sure it's major modification but in order to get the functionality it w= ill have to modify either users or operating-system (or another field withi= n). > > > > I understand it's low priority, I just wanted your opinion on this matt= er. > > > > I'll look into that and try to come up with some implementation. > > > > Petr > > Hi, > > Do you have any developments or additional thoughts on this matter? > > I have plans to implement it, so we can generate iso or VM image with > > home-environment inside. > > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------ > > Best regards, > > Andrew Tropin