From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uA5JEycHs2EJaQAAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 08:52:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GOHoDicHs2HhNAAAbx9fmQ (envelope-from ) for ; Fri, 10 Dec 2021 07:52:07 +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 C0574FBF7 for ; Fri, 10 Dec 2021 08:52:06 +0100 (CET) Received: from localhost ([::1]:48862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvahJ-00056w-9a for larch@yhetil.org; Fri, 10 Dec 2021 02:52:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvadq-0001OQ-GS for help-guix@gnu.org; Fri, 10 Dec 2021 02:48:31 -0500 Received: from [2a00:1450:4864:20::529] (port=42882 helo=mail-ed1-x529.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvado-0000zz-SA for help-guix@gnu.org; Fri, 10 Dec 2021 02:48:30 -0500 Received: by mail-ed1-x529.google.com with SMTP id r11so26700930edd.9 for ; Thu, 09 Dec 2021 23:48:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=m60xRn5J/Dghcb7t5bWWdt4pJn6ddqX6sM8euwi1byI=; b=GuFrbLAmPWaiT1tVWZexr0/noxH6MIqWESPNSoG+liP9ULNomn7/MihWnQF2CfkSNw 9N9ENjJfFPXo28Tk5mSiSB4n6OYRdKKnoONqaB6MVet1BvldVpXBftXMnlJ/b3F6sxMj AHLBO0GKAzQQVOrr9D7fhSvQDkzILksj3l9P03NAUCyPtX2CBdUQhie+v00KM+Rl7tCW lPVZYnSQhsMqc+44kpYqSdeU7CG1GgSnpbS4WWseYwTEy5QlXp75H+J4hn6ETuMcUenu TxsvqVC63LKcb3Aa9f0niGD/qGoGKs+UnmdXEOTee/PCH9LyihhQoWaLUNoWAiQVYfaX d8YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=m60xRn5J/Dghcb7t5bWWdt4pJn6ddqX6sM8euwi1byI=; b=7XflzM/CZrN9GRluIbNuU2eGl7hz3eZq2SCkdqkWPoNbO2g7PrV9j8xdpRAYF61Y/+ 6wSn8gpMqKaucx2u6dUdaGE+BEh3CDmbelliJXSLw1bk4CYIH93tZxX04PKiYR43yYWz DZwD0yrEzgAjY1h5D6epYs2lNkiax82TnWB+n5Tju48J9ubgDl5KhzeNM5rOvrmElAva jGAzMElCz3n/In7XDMJtIXZ7pNQTyEqYFtqAfNoNzXf5rn+3Ylxvc2HieQmKzeNglTD7 A186b6WlA7DpOcXNNLaOPRKob8yyAc5HD4NDaJYMFxH/PMTSV46EaaeebUlGOdlMvSga HEXA== X-Gm-Message-State: AOAM532YOsIuGuylF4ze6Wi1wopfUO8+7KOERIH9PPThkB/1aCVsR67L IoWllvnY8n5j2+qLilgVsHhjeQ== X-Google-Smtp-Source: ABdhPJz44AH/hsofYmmPrjoNwMjs/cPfrB9F7I1//ylJAzkToUiyrVB25GAK0lDvEOIK+Zf2gto1ZA== X-Received: by 2002:a05:6402:22a5:: with SMTP id cx5mr35539476edb.334.1639122506865; Thu, 09 Dec 2021 23:48:26 -0800 (PST) Received: from localhost (109-252-167-227.dynamic.spd-mgts.ru. [109.252.167.227]) by smtp.gmail.com with ESMTPSA id gb18sm984610ejc.95.2021.12.09.23.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 23:48:26 -0800 (PST) From: Andrew Tropin To: phodina Subject: Re: Guix system with home-environment In-Reply-To: References: <871r3x7kun.fsf@trop.in> Date: Fri, 10 Dec 2021 10:48:23 +0300 Message-ID: <874k7gj3y0.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::529 (failed) Received-SPF: none client-ip=2a00:1450:4864:20::529; envelope-from=andrew@trop.in; helo=mail-ed1-x529.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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: , Cc: help-guix 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=1639122727; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=m60xRn5J/Dghcb7t5bWWdt4pJn6ddqX6sM8euwi1byI=; b=uh1SYxUQxJHozYq9o+xLmpvkP4ZontJ5eMCBrqnCp5eUkf/OqStAqgn2eojrPbSlPDDeZH P3NnS4IvIXuDRVA9EF2Vj/BYKSkcduqzymYjfVfKfe0F2ujKrtbuysZ2I1lrM1FrgRT76w 99t+0qZqxxY2cKYtzKLlUNy4vbZ+6esP7LlmvZqltY8kawcmbDauVn8hBZ/5Jloz3+kGoI IOXEDZ0wAJlTfxkvRQb440TKtHZ8kDVDgxs2d47NZbjhwlxz7LvikewoDqgcISf3f1CQ3r m3++o990w5lupIyFac1EfNOZrHZBWJy33aYfBB9G4mROKzVzym+LRqDxBuqjQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639122727; a=rsa-sha256; cv=none; b=k/aQ5Y4IAftbh0oVhMjorJ2VjqwK18Psifjh1Xw9SG4KEPdNaDxyidE6feWIc3J2NnHq6L vWYB/5UuFUlOHwgfkQLAU2fPTzF8MayHamdCxGtjAX4JCNlpIgUARld0PREy0fbJN6uFuB NACnZQT+8+hPV6IHYbgbmo7FQFz4PEZTgQ+1VQvOoP2dvfJyw37LYVDdk006Ck4/rVC101 p2vD0jQJ6ottUwLKaj3+tYiNIEb69cXzD9FeCuUj3nXAmvOmzpBVzaKlVl/RU7HuguAUJu UvzdsrtShlMs8kkmtYHi1jUGO+UppArx5yMPyEfUMmo/ARusrfsOJ+wUmnwa9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=GuFrbLAm; dmarc=none; 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: -5.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=GuFrbLAm; dmarc=none; 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: C0574FBF7 X-Spam-Score: -5.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: CPyhZW+x6/7j --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2021-11-08 06:52, phodina wrote: > 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 = 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 enviro= nment. >> > >> > Would it be the correct way to add additional record to user-account d= efinition, which would instantiate the home-environment for the particular = 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 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 pa= irs (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= for each user set by default to false. > > Sure it's major modification but in order to get the functionality it wil= l 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 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. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmGzBkcPHGFuZHJld0B0 cm9wLmluAAoJECII0glYwd6w5FMP/Rj87nSMkIS1o3gHof+kjZQ3QOeemotehrOG 16RghTDmrHyFUFPx5ug/ZJF12Vmnem1QOotZoT+fmmRmfA+HABMr4kTH/yEI/TsC 17jflr45FmPTDJ6OjjZVcmUly5CI9oN5H/ZcgrglnDFZ0nYLR6uhZrK+d10KqvRG 0dBDUaj4puV62kl/LQ1Fr3Ei3tXhkC6SfNPqzm0FQKZjQUxf+k+rUe+F412r+Zlh K/908LhdL9itz7LIQl2VynJGRYKGFUbycWJPjwDnohLLtsqMpImpDoVYZInhrlsN pKb1D3sOod06r5nh6wJSJLDc++RVhrL9af4d8lfGaYhPvJHp/nj4MFQszCebSRYJ kxmkohxwU5b3gCFQ5+2wm6rjeOow3Pisjl6NmE3vNk4+prgD9l+SzMWFGMa8On1x J9rcITmJXR3dooN5JzfqFFNCex9ISczEjCbREDsr+xl3kInwIW6rW7qv7dOLGQRW 4A1msBbwpRCKciKFVJQnjps14IoTdFP/1f+RttFfzXEkwlbThOkJRiDiF8NxnLwM vBQK6mnQVdf38g0JeYHwA1YQ6zgEWmNQECXjulmXisgmluVUFkEJp8uBjXyy4MNH cAtTsMij2PkvAkE8D3WX3VLS6lZ/YBZOG6a7atVnrArUWZlHFQjNoehP5RBjp9+G +NA0DKoN =hGqn -----END PGP SIGNATURE----- --=-=-=--