From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CNLYEBOLuWEXZQAAgWs5BA (envelope-from ) for ; Wed, 15 Dec 2021 07:28:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iD+BDBOLuWHhEAAAB5/wlQ (envelope-from ) for ; Wed, 15 Dec 2021 06:28:35 +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 4394A33303 for ; Wed, 15 Dec 2021 07:28:34 +0100 (CET) Received: from localhost ([::1]:43730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxNmB-000558-RC for larch@yhetil.org; Wed, 15 Dec 2021 01:28:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxNlQ-00053F-1j for help-guix@gnu.org; Wed, 15 Dec 2021 01:27:44 -0500 Received: from [2a00:1450:4864:20::22f] (port=46822 helo=mail-lj1-x22f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxNlO-0005K6-7B for help-guix@gnu.org; Wed, 15 Dec 2021 01:27:43 -0500 Received: by mail-lj1-x22f.google.com with SMTP id a37so30674052ljq.13 for ; Tue, 14 Dec 2021 22:27:40 -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:content-transfer-encoding; bh=+Ps9nAnXegdfYxr8e2Kmua2+5qbHCaf2jU1Cy3gRnzg=; b=Qvbl5/2GEMANknqv1WJU/M2GCVClB001WmrjraYDeB2AxZJ3Cu3ZuHeYC9sQ56mwsf 0aRrbkRkB+9gu9bAGm8qMYNvQjNYC7ALMBsN+9S5HXGlOLhetMKiHM/XDysuBj7pH48r mgaa3MGWk9vKT1lYki96m81K4sqWTURDI5o0fC7c8QOwxzvD8/G8enoUQu62ejjNbpNc jRRMswP7ZaTFwB5BIkHte3eospb60gLPCUfe+/1RVITB7ehFs47zKZbZXzgvj00tUJW+ EEXWZm2tgiwZmkAc0BBUyHmHZCdaV0donH13//z+D6f3EsdyrjebXuqRVbbRl1o5B5QW 4l6A== 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:content-transfer-encoding; bh=+Ps9nAnXegdfYxr8e2Kmua2+5qbHCaf2jU1Cy3gRnzg=; b=VoFiw/F6WWAOaQIKWQJoSZMhexQRdxKvyOnA8g4Dp4NQdYEhPQnZZHTW0grpt1U7pU AuYrwNt6aSgdFQHO0wvihlV7E80iLJUF8MwVcS/FPP3CD/MQ0A0iyv7JM9nyA5IPvt0a pUQdKjwPwIg7Ra5uw3nQPzXIlypDiwk7VPz7mtw41wlDDOuQogzvffaPpSikalOpOCrY OBF0Ky2N9j6YqLH77Zmgp0NCHS4afaU0Xmi9VO8PSqO4IwDsCfSKUFwH13g5T038lk9h KrZNqurwebtdGDSyBqF5a0lz6Os8mHJeKahLvhGgQmmJZ956LuJ2/6M8GiBiydLcs2yl gzcg== X-Gm-Message-State: AOAM533UmSfj/YQza8Aqn9JFGACznVLt5NK2vmd5ulf1ss1tG707iFik YF2mSaUTrcgmZxXvggjK22iU5g== X-Google-Smtp-Source: ABdhPJwWjH+tPkiCumsCVIgVgij7laovPhggQPXyLy8atxVm+yk2ySLqvJfTvVvAWmBlYx6bXjqFNg== X-Received: by 2002:a2e:7807:: with SMTP id t7mr8452437ljc.426.1639549657859; Tue, 14 Dec 2021 22:27:37 -0800 (PST) Received: from localhost (109-252-167-227.dynamic.spd-mgts.ru. [109.252.167.227]) by smtp.gmail.com with ESMTPSA id b12sm164315lfv.91.2021.12.14.22.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 22:27:37 -0800 (PST) From: Andrew Tropin To: phodina Subject: Re: Guix system with home-environment In-Reply-To: <5QLhFA_mRiLczYhAC6C02zOG2p0H6pBbsVJaeTbckcFTYGljBFbH_vQvIlVgioCztagGTwv9yz5_Kk3IG06uiRBN5Rq8Po1b7UCqhCGMD_Q=@protonmail.com> References: <871r3x7kun.fsf@trop.in> <874k7gj3y0.fsf@trop.in> <5QLhFA_mRiLczYhAC6C02zOG2p0H6pBbsVJaeTbckcFTYGljBFbH_vQvIlVgioCztagGTwv9yz5_Kk3IG06uiRBN5Rq8Po1b7UCqhCGMD_Q=@protonmail.com> Date: Wed, 15 Dec 2021 09:27:35 +0300 Message-ID: <874k7az8ko.fsf@trop.in> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22f (failed) Received-SPF: none client-ip=2a00:1450:4864:20::22f; envelope-from=andrew@trop.in; helo=mail-lj1-x22f.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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639549714; 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: 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=+Ps9nAnXegdfYxr8e2Kmua2+5qbHCaf2jU1Cy3gRnzg=; b=Wxwu61xTCMsJ42vI1+iknO6cSroRBdrol3GO+lsfr59DNo+W6k5Qg6zI9d8EZPD9jwyq+0 ni6TGTcpc2XPKgMR0Yr3sUNjLpsXCBnW1zY+gulngkhZe1rL2fYMy7JTGVxqAqnCIvLHr5 S4IMp6QFyP13lZpIBJoCdBkNIBjYCaRF28PLT6LP2h3KiqiSlwkVxxt3WN1OoUf9GR10dY s1s95ekzz7TBjWSuLFwzhTCP4GlZMqoJZUIoOWV0HDIKf3obgw7jVA6+bQay+I0rKM0XYL D4TDw1JeWw/EWLrvRVUx1dpgQQvD6byoJu4mexOVxjgoI2GvYSWE+PpG9i6HrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639549714; a=rsa-sha256; cv=none; b=kwfQgcd8boAhLqey1CQ4kVSFYxgvQ8XNm9OFGAsOs46tgX8BR5o0V1ihUrRkDYCAegFftc FfiiIdyPptsAnygS4dwrcICv/dBL/dAboZQBH1WtVKtbHTiG+8vNW+mb/QhTHJegg9Ma2y e6nSTzlPK4pOoiIHjKd5KSvS/oEWhTkyMugwJDH12vap9kOmiOB5zuUBL+qX4ZQh+2DNUV akQbiYpTj/I0a4CXo/fkUws0iZdHk44scBJbjadx1IHqInKFKEBqIOAeglfnYfTtGahwxi UohnmUMjd5sgCwCHxXfYB06UtO4n/1ltQUJvMorOYU9WKdHnsu1dnskOOQuygg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b="Qvbl5/2G"; 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: -7.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b="Qvbl5/2G"; 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: 4394A33303 X-Spam-Score: -7.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: zW3CxOzkHCHZ On 2021-12-13 12:34, phodina wrote: > Hi Andrew, > > sorry for the late response. I've looked into the user-account record > in gnu/system/accounts.scm to add home-environment field and how the > home-environment is instantiated in gnu/home/services.scm. > > However, I haven't implemented the functionality as of now. Ok, I plan to play with it soon, so maybe I'll implement it or similiar functionality. > > ---- > Petr > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =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 = wrote: > >> On 2021-11-08 06:52, phodina wrote: >>=20 > >> > Hi Andrew, >> >=20 > >> > On Wednesday, November 3rd, 2021 at 8:35 AM, Andrew Tropin andrew@trop= .in wrote: >> >=20 > >> > > On 2021-11-02 11:38, phodina wrote: >> > >=20 > >> > > > Hi, >> > > >=20 > >> > > > I just want to ask if it's possible to create an image which has b= oth the operating-system and home-environment configuration together. >> > > >=20 > >> > > > Currently the way to build them is to do: >> > > >=20 > >> > > > ;; Guix System >> > > >=20 > >> > > > guix system build os.scm >> > > >=20 > >> > > > ;; Guix Home >> > > >=20 > >> > > > guix home build home.scm >> > > >=20 > >> > > > However, if I want to build and test a VM, I'm missing the home en= vironment. >> > > >=20 > >> > > > Would it be the correct way to add additional record to user-accou= nt definition, which would instantiate the home-environment for the particu= lar user? >> > > >=20 > >> > > > Or is there another way how to do that? >> > > >=20 > >> > > > Petr >> > >=20 > >> > > Hi again!) >> > >=20 > >> > > I have a plan to have a system service, which accepts list of pairs = of >> > >=20 > >> > > user name and home-environment and instantiates home environments for >> > >=20 > >> > > these users during `guix system reconfigure`, but the task has a low >> > >=20 > >> > > priority right now. You can try to implement it yourself and send a >> > >=20 > >> > > patch for review or can wait until someone will do it. >> > >=20 > >> > > P.S. It doesn't have to be a separate service, maybe extending some >> > >=20 > >> > > existing record with additional field will also work. >> > >=20 > >> > > Best regards, >> > >=20 > >> > > Andrew Tropin >> >=20 > >> > I was exactly thinking of a record in the operating system for list of= pairs (user and home-environment) as you suggest. >> >=20 > >> > Though then it hit me - it's already there in user accounts. >> >=20 > >> > Therefore why introduce complexity and not just modify them by one rec= ord for each user set by default to false. >> >=20 > >> > 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 with= in). >> >=20 > >> > I understand it's low priority, I just wanted your opinion on this mat= ter. >> >=20 > >> > I'll look into that and try to come up with some implementation. >> >=20 > >> > Petr >>=20 > >> Hi, >>=20 > >> Do you have any developments or additional thoughts on this matter? >>=20 > >> I have plans to implement it, so we can generate iso or VM image with >>=20 > >> home-environment inside. >>=20 > >> ------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------- >>=20 > >> Best regards, >>=20 > >> Andrew Tropin --=20 Best regards, Andrew Tropin