From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SI1fIOPeTGHAbgEAgWs5BA (envelope-from ) for ; Thu, 23 Sep 2021 22:09:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SKQLHOPeTGGJcAAA1q6Kng (envelope-from ) for ; Thu, 23 Sep 2021 20:09: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 0892228478 for ; Thu, 23 Sep 2021 22:09:07 +0200 (CEST) Received: from localhost ([::1]:47328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTV1m-0006cX-52 for larch@yhetil.org; Thu, 23 Sep 2021 16:09:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTV1b-0006c8-Ft for guix-devel@gnu.org; Thu, 23 Sep 2021 16:08:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58118) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTV1a-0006J4-1Z; Thu, 23 Sep 2021 16:08:54 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36040 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTV1X-0005Zq-ME; Thu, 23 Sep 2021 16:08:53 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Xinglu Chen Subject: Re: On the naming of System and Home services modules. References: <87zgsei5ta.fsf@trop.in> <87pmtarnrh.fsf@yoctocell.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 23 Sep 2021 22:08:48 +0200 In-Reply-To: <87pmtarnrh.fsf@yoctocell.xyz> (Xinglu Chen's message of "Wed, 15 Sep 2021 15:06:58 +0200") Message-ID: <87pmsz9hrj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Andrew Tropin Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632427747; 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; bh=X8Le73VbAAuiB3vAokphNfwoewnxGW+efyOordYanpI=; b=i0KoZpYw352cLasWSSySQnAKfC1Z0oSYV3PFSx9vcaNkiwzykES3SapbVOE8FdqVgzC3ra KvkCSga1PzRiYEisNa38Sm7kor7gLm8u3+b4VREMvE3TD0iFE+dlCJcpBv/ouKQSmGXFe9 QLu963jOMgf0z206BVK35KBdX0pETO/39KQDPaAyig9XWnDNMAwyKvTDLf6xi5IpgVw7AC uPxR8FYp2PyMVu3oHi2lj6Lnt7oVXa2ujz4TWNI7RewNX1yc3YJE34iiTxliT4aPzEabIb MBOfdQaG+C0UXThncUTvPzDmV0dB/4h+x6spe+MvYhTCntMV+xqFxk/GuVXarg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632427747; a=rsa-sha256; cv=none; b=OZ44McgmAXN4Ix5Pv96qY9nwSMSLbce9++2zcMQuVXcU0g4HDzcX6UmnQaMrpTwDV+Sozu VLLc/L9ol4zAZOVBDZfeg2P+l0ysCJzofyM+4gTMPENaqyblsGkEOLXV9muLY+j9Gumo8G afgsj0bH9wM3Tmo2YyhYNW1wW3i8SOdg0r9L9lS4ndp0UthhKpPud9KIcTaS0VwxO2ldIs kjhLe5nGEcTnl0H7j05MG8eCw9isqEoOik2cce8ZHY1ociCOt2KzTmgDnKFLA1rY6beMbL t/PAUmvChDyA02cUCCHP2WAgG27ynxtuP0ucet/DofYsHZ7Wf6L8nxxXTTB2Dw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 0892228478 X-Spam-Score: -1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: iMxJgnPcbthL Hi, Xinglu Chen skribis: > Some services might be useful to have in both Guix System and Guix Home; > for instance, Guix System currently has a service for configuring > Syncthing, and I think it makes sense to also have one for Guix Home, > this would mean that people not using Guix System (me :-)) could also > have Guix manage Syncthing. With the current approach, we would have to > copy and paste quite a bit of code, and if the Syncthing service for > Guix System changes, then the one for Guix Home might have to change as > well. Silly question, but why do we need to have two different configuration record types in the first place? Sharing configuration between Home and System sounds important to me: it means users can easily move services from one to the other, which is pretty big deal. It also means we=E2=80=99d have much less code to maintai= n. Would that be feasible? (Apologies if this has already been discussed!) Also, I proposed earlier a possible way to generate a Home service type from the corresponding System service type=E2=80=94or, IOW, to generate a H= ome service type graph from the System graph. Does that sound feasible? Thanks, Ludo=E2=80=99.