From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cI90Ex8JQmGA0AAAgWs5BA (envelope-from ) for ; Wed, 15 Sep 2021 16:54:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YG4ODx8JQmFnDQAAB5/wlQ (envelope-from ) for ; Wed, 15 Sep 2021 14:54:23 +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 BC0A083FD for ; Wed, 15 Sep 2021 16:54:22 +0200 (CEST) Received: from localhost ([::1]:47350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQWIn-0000fT-PU for larch@yhetil.org; Wed, 15 Sep 2021 10:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQWF7-0002su-Q9 for guix-devel@gnu.org; Wed, 15 Sep 2021 10:50:34 -0400 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]:41763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQWF5-0000of-OY for guix-devel@gnu.org; Wed, 15 Sep 2021 10:50:33 -0400 Received: by mail-il1-x130.google.com with SMTP id l10so3172795ilh.8 for ; Wed, 15 Sep 2021 07:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=mB6OIGcL8UnOakDRZcPMCn3ZooIdEb2cHblTpZCjlbc=; b=N+Ia9ASpO5+Bv7VCZl1F8eYJK0sIBAC50Y/slWZVaw6qSRd32IUwQ1jXR68kd1dgXh ua7K1lhQIW1Mpjcnnc0lkYlp5xBjDjcuT2sHLLLVf99XIPjjaZKrzXdYtQ5Dxp6MVpDl F2kyR7G6f+cXPfwVk5VXrWeKNdgB0Kd1N86EnzUa5EBl91LRnS8KSPZ/z8iTbIqESYVP NFNl4GmsErms09DLzrM7YCLdK9+K8aks2wmaE3ejfi20uJkKDVZ6oTmJltuLeTjy4h7O cCPO8MW3NThFBgLtiO7iGxh/dLSXTibwktg4T9p+N7gzomWpskZlfjBkGl39SLI/BJyu 23hg== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=mB6OIGcL8UnOakDRZcPMCn3ZooIdEb2cHblTpZCjlbc=; b=VdlDUMts2xgwMcW6geOkeyAByAfCUVEA+H5RLlhOWdxkuK4iYnBKoZZIp1+rbV74r/ ZuC7hdPmzIq7nFuxNhBCfXewMC1Yh7lLyVEgH6uB20ubA4zR8ELbbNFr5U7twKiGUrOv fNTQbEEwevHI/GxSx5pOZNhi/o7Pu11PuRZ/WYXxnYYVzYWHrSObzipn6+d5O2bpbjYF okhz/Il99A1YUkza2Tnb0kJDTtzSWc5LNd2b1yUs7PNEKPwzEm6Xg+4W1eXW33oxQr/p NTeiVTfghGrgfRBI7XfQPx9JgwWkZIdJ3mKhZw9DFXn+zZBtu8qJA2TOOVCSt0K7Iyrf sX8A== X-Gm-Message-State: AOAM531zvjTJpeoMd0komdJbqDkkhTS44y1iUTJjmtvo8hZ1WaXGlPPy xHwU5VU1gFEVG+7YBHbmaQHPT3QnetA= X-Google-Smtp-Source: ABdhPJwguwY4i/Ax8d1isbA4N6jTOJPPDo1MNYbAZvhSdo0hyNNeHAITAMLnMqqvcpGVl6ZK6+SZ7Q== X-Received: by 2002:a05:6e02:4a4:: with SMTP id e4mr302558ils.232.1631717430139; Wed, 15 Sep 2021 07:50:30 -0700 (PDT) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id c20sm73165ili.42.2021.09.15.07.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 07:50:29 -0700 (PDT) From: Katherine Cox-Buday To: Xinglu Chen Subject: Re: On the naming of System and Home services modules. References: <87zgsei5ta.fsf@trop.in> <87pmtarnrh.fsf@yoctocell.xyz> Date: Wed, 15 Sep 2021 09:50:28 -0500 In-Reply-To: <87pmtarnrh.fsf@yoctocell.xyz> (Xinglu Chen's message of "Wed, 15 Sep 2021 15:06:58 +0200") Message-ID: <87o88t3nbf.fsf@gmail.com> 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 Received-SPF: pass client-ip=2607:f8b0:4864:20::130; envelope-from=cox.katherine.e@gmail.com; helo=mail-il1-x130.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1631717663; 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=mB6OIGcL8UnOakDRZcPMCn3ZooIdEb2cHblTpZCjlbc=; b=lAFP3ME6i88ls6lqJcLTSExrsBBt56GoCzdT3p1S8e7+fj1O9J+UcBtb5Rek9qcX4YyED6 gb1antM+4SvEFxeGjBfaCWwlEfmk+8A/0GBRBFfK5XfDE8ClvmZfhBEv+97gbIBGeXli1l rfXpvIg+4UfMmW5cO2Q4c5y/qkpIDekHtK1grubq7Y7S+lASxQn57BcOU/DMlcGRsrQG+Y 1oy1GimZC8CZ6Tbv0X2M3TmBRYRzgoJS80uV0SiaaHaXeGAn0IxCGZi2jwCbGmvT3PO1Q+ F26wCQFZ+uW7UgkyLk26r+XIH5X+8zKXCnTVZSIRweodO55L9EtrRQMmPUWC5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631717663; a=rsa-sha256; cv=none; b=Uihv3ikbPE07Y4WAPxEacq5qPcEepZKWZW97CI0bpnsSZwQFob93fw8r3Qb9UpLsx9h5Yf 4d9TJh7UMTWOtpVT1M75RS9HETqSg1lzW/izpSpzKbhtROSbNb7DCAOj31Kv4a2GeDAg+B dMNf0FyxpfeDcv6OHBxt6nxBJTs65PDFY2l8tb+F67x/MC60VAFurxJYbnTHtzA/1JXE8L nSjc0Ic6i1JfSPRFmiMBcu0F0knejXZgOtexWpm0slBTNXuL5IKO4m8RnXbMkhINJlsfjj vV5X58MTgtnpS2xU38hBE22r9qH7z/OqH67uLZDcBO4l8IeJnCdlPODBLznxsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=N+Ia9ASp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=N+Ia9ASp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Queue-Id: BC0A083FD X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: y00/4irJeJZQ Xinglu Chen writes: > On Wed, Sep 15 2021, Andrew Tropin wrote: >> Records even for the same services have slightly different fields and >> because of macro nature can't be reused between Home and System >> services. In more details I mentioned this problem here: >> https://lists.sr.ht/~abcdw/rde-devel/%3C87y2cqifpx.fsf%40yoctocell.xyz%3= E#%3C878s4l8kai.fsf@trop.in%3E > > 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. I agree with this point. I have several Guix systems, and several non-guix systems with Guix managing some services. In the past, I have had to write my own Shepherd services for things already written as system services. >> The intersection of home and system services should be very low, so >> there is not much benifit here as well. > > Quite the opposite, I think it would be great if home and system > services could integrate more with each other. In NixOS, the NixOS > modules and Home Manager modules feel like two very distinct things, and > it=E2=80=99s not really easy to share things between them. I agree. >> ** Summary >> Let's keep System and Home services separate for the sake of clarity, >> reuse code via shared modules or just exports in (gnu services ...). [...] >> However, ~(gnu home services ...)~ also looks cool, but it would be a >> little inconsistent with system services, which will have one level of >> nestiness less: ~(gnu services)~. >> >> IMO, ~(gnu home services ...)~ would be a good choice if we use ~(gnu >> system services)~ for system services. > > Yeah, having both (gnu system service) and (gnu home service) could make > sense, but since we only have (gnu services), I don=E2=80=99t think it ma= kes > much sense. I haven't put in the energy to follow the rational behind the proposed naming schemas, but I'd like to suggest this as well: =3D(gnu services home)=3D. This namespace increases in specificity, and I think it would easily follow that things in =3D(gnu services home)=3D might utilize things in =3D(gnu services)=3D. Or I also like the idea of =3Dhome=3D and =3Dsyste= m=3D being sibling namespaces. --=20 Katherine