From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KKk1K0vkiGE5MgAAgWs5BA (envelope-from ) for ; Mon, 08 Nov 2021 09:48:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8Er9JkvkiGHOFgAAB5/wlQ (envelope-from ) for ; Mon, 08 Nov 2021 08:48:11 +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 ECD763505C for ; Mon, 8 Nov 2021 09:48:10 +0100 (CET) Received: from localhost ([::1]:50394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk0K2-0001Ne-1h for larch@yhetil.org; Mon, 08 Nov 2021 03:48:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk0JW-0001Lc-7p for help-guix@gnu.org; Mon, 08 Nov 2021 03:47:38 -0500 Received: from [2a00:1450:4864:20::52e] (port=34596 helo=mail-ed1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mk0JU-0002pG-IZ for help-guix@gnu.org; Mon, 08 Nov 2021 03:47:37 -0500 Received: by mail-ed1-x52e.google.com with SMTP id x15so28123553edv.1 for ; Mon, 08 Nov 2021 00:47:35 -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=risQHu8SYmDmUwzbgZrT06780qm9ecf0uKI1hg2LkD8=; b=OcgMBgu9SMY1YPPN3N3BBqfRb+HZPJ+Cbq/QatyPgjiVDfBsLdfAv4Cc8nTtoA3TnE rJsDzFT3S3GDHI3/CvUBhLGVHNLJ/QE0Nk8zrtkBbc4snIRcLT3Znwf/fe9mBurYrKnx a27254RpSuHeWousxP1JIfELd85rhuTypimTwb5qTMdTOMk119wyeBc9TM1BaAFWGGsb ku9i1T7+CXX73eRvLiyUTsXEy74dmlDqPqa6XV0reRXLeO9F4Qrt6YLljK2UFoWTV5Ro gryD7bApwe/bdmlB/OnVJYV+snqwhQJSkG/4fUSNso3COA4IlaQbLJ3+V2NJRKZ7N5y6 6z9w== 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=risQHu8SYmDmUwzbgZrT06780qm9ecf0uKI1hg2LkD8=; b=woG3ECGY0ZXgwUhF/10F+1xRcJALcjAnp9LM+Je6Vyz1vEPK/jXg/1lmKWKMLiTYSS ll95OvbUkhaMPdR9WVxg8yTMMJYKpbQSWL7spLllvMcbF8undP+mZJ3fKy8642nLmIl+ MeAU4alqimF096ZJWAn9l19vFJUPdYnNRPFXQILCemo135d4AmxRVgWPIlUMVtqVSNly escg9NKGxVlstHIj+/rpiFsdxpgAUW3Q/U03ExUtv0uRTDML2Y94GSzX//lVffrRybqN N/hfM1scNuhJSaxWaxM5f8+JZ2ecmrzC/9LwbmnLRmqQJS5Yi2K+r4udnHYy7aITJOgO 5aAw== X-Gm-Message-State: AOAM530NMegelENC5TGeJ6Ey0F2kVOXTe2WsMl6rqd5gaNdIJKJyx9E3 UcHUDHAN/ACaigohDuHJyX8Olkhm/M2m7g== X-Google-Smtp-Source: ABdhPJwbk2Kk9ny4MTjoGmnJudRrmoXHAhm9YLledAoEZE/0W1jpiEFqy83MT37QHR/zoA8zrcYZKg== X-Received: by 2002:a05:6512:314d:: with SMTP id s13mr15199421lfi.105.1636360852747; Mon, 08 Nov 2021 00:40:52 -0800 (PST) Received: from localhost (109-252-141-7.dynamic.spd-mgts.ru. [109.252.141.7]) by smtp.gmail.com with ESMTPSA id y32sm1741126lfa.171.2021.11.08.00.40.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Nov 2021 00:40:52 -0800 (PST) From: Andrew Tropin To: phodina Subject: Re: Guix system with home-environment In-Reply-To: References: <871r3x7kun.fsf@trop.in> Date: Mon, 08 Nov 2021 11:40:48 +0300 Message-ID: <87tugnghv3.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::52e (failed) Received-SPF: none client-ip=2a00:1450:4864:20::52e; envelope-from=andrew@trop.in; helo=mail-ed1-x52e.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, PDS_HP_HELO_NORDNS=0.001, 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=1636361291; 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=risQHu8SYmDmUwzbgZrT06780qm9ecf0uKI1hg2LkD8=; b=qXn/Tzk033hj7s5pVK5SzAcqk6qAfRKyUp5TeTZZfw0QJUe431jh172WDTHY+97uHzXbGA PIBsCjzI3JBExE2xRXsNVTwh2RGdWpXucVjk/WO91ORnpUTTPohRrwDVoDk8WehOm6VLjM vKYbW7aM7J5DBdVSkUdxSh1UpQt8/zk0VyRcFfrMdHIGaBATq3+nNNGfR1QI2Q0anup5ke zgmflU0c0ciY4wnCg1LOO/1f9NGlNG5FOWzRy9IXl4QOGhHfsZVenmKKig9zjZNH1Rv3Bx +DXb7tbGFfh8WErnVoGJjsB4cVitdyPfDCo6BtkiLJqqEno9vZHv+JIVYYoShg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636361291; a=rsa-sha256; cv=none; b=FmdSrE7e2uzU3DsUBBDm8qlaLOja114PrB2eytfOJojUf46bYWrg3LWeRdwGmHeGde1iNz AhfCJFMCIo8zAS/iN7/sgl2G9CWMszonoO0+TJFC/K3+XwumpM314rQ1MARN2eyCrdrYuW i/Dd0UCzRQtjHKve1Hi0vMa26kqyofJKAJGPYP3gZ50rfMAn1iby7QaZdPFmiVhwLVmR3/ PH3BqGnKjJeus5Jh69LBhB7plVfr+9j+lgWlmi0b0duGVXdH3bSxgYYxDHBEJzkn/AX9zg o+1ivgXwBku3tr5lp4GeRGbG1TBcpKQ8wR4cl6kasiBeioMKyDBnqSV46Jfykw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=OcgMBgu9; dmarc=none; 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: -0.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=trop-in.20210112.gappssmtp.com header.s=20210112 header.b=OcgMBgu9; dmarc=none; 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: ECD763505C X-Spam-Score: -0.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: CN4dhdTon+1/ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2021-11-08 06:52, phodina@protonmail.com 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 Sure, it's very useful feature IMO and I think about it almost since the beginning of Guix Home project, just didn't have a chance to get my hands dirty with it yet, so I would be very glad if you would work on it. I will be busy for a few next days, but after that I can join development/review process. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmGI4pAACgkQIgjSCVjB 3rBeug/8D9qtB/c84RV3ad2e/YHjI6+BOOVnSYn+gQOH7nkkpHMO5sVsDIWAxNEF nAXaaBX4ZJfbg80WX2Elwqgd7tYe0dpWgOpaT7a2P5n6+wAjaKTqOONSRBycqPeQ ReaNRqoEjgK4YiWQ+g+HGUl1KEACYtTHH2nB0+WFGHvcnaEqI4V+NgL9726Jpm2u LXjL4H9woMlSwr5bQXVLT499v9fCmfv/7rDUhGR+5PiU4P+fY5EnBImW/bdkQF2K +C4eHRleoLEZllFpuZLQCNR8eD9ROw7b2cdvwiT5Kv+X6B1ovjNiHWMxFrKkca2o T55M+wrE98ztsyyO/uTGzliHiKMVekyY9DI0eipHqCo5aeTdAIx5oxn4nOG4TiUk gt3BHO1eaNLqCFMFOi5y0RZjMk2p4FlPrk160yfkvFGH6YqKwfQPBodqOfa+1vzC peUFRlAGSInHue6f9mz+pVFv7BdrB/r+eY3nGf9Vjyp0x8g6CZRdVXVmPxY35uJc oIC/sX2nyVA/LULA+/cQXICxyuU4fFKkdPQVd/+80GacJO9ej0LWdniWePtAnYTQ OkTwqaFMgG35/vuOI0U8n+aNdyDdscXr4GPZ26lPKVd+uuh/eIUQdiv7MXLk7o74 m7AQsp0VuVzNVRlILa5FRlQ0jB8VfGrlkqCXfDoxMeE1/4//BLo= =5d+E -----END PGP SIGNATURE----- --=-=-=--