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 SNL4D+614WD8HQEAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 15:21:50 +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 sMu0C+614WBmIAAA1q6Kng (envelope-from ) for ; Sun, 04 Jul 2021 13:21:50 +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 E7D9A1F5F3 for ; Sun, 4 Jul 2021 15:21:49 +0200 (CEST) Received: from localhost ([::1]:54076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m024D-0000dT-0l for larch@yhetil.org; Sun, 04 Jul 2021 09:21:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0243-0000dL-Tn for guix-devel@gnu.org; Sun, 04 Jul 2021 09:21:39 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39340 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0241-00059i-Vg; Sun, 04 Jul 2021 09:21:39 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1625404895; bh=xeNCYeQKa/Qwbny7DhaUkSZMo823uk8YjgYNGIiloSs=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=e5wq6rCsHQWYIyZfeIaQn1ZBYuZBwL7m0MFJXhpgoVLaqxuEAEZNsDT6G6V6PKzNN GZuGYQZsiYHp7/z1T09DozPQ8Ok+v3dXaVc/6YZjMXd9uB5UQpBGs4bXt7ShTEwyi/ oSlJqlSsqaIdMdAHBtdZAUiP9r3w/y8yabh7cS0A= To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Early feedback on Guix Home In-Reply-To: <87fsx1t0y1.fsf@gnu.org> References: <87tuloyb6n.fsf@gnu.org> <87y2azr86k.fsf@yoctocell.xyz> <87fsx1t0y1.fsf@gnu.org> Date: Sun, 04 Jul 2021 15:21:23 +0200 Message-ID: <87y2ami59o.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 , 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=1625404910; 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=qkoYNRO8xMB+Q2/lrsd82wWIvbTnxPkWd/ajGd+FTlY=; b=qxAdmZMm+CXkOg9LvQ+EXismARKFtegBrigR2v8bVlweeV3RxtZ8fpNaJTBJKPsAwHPHQn Jq+eWqQEYKmkLJL9An6SdFtzZBrQbcJ+6RENLLJvrRo9hTE+Nx30JOEOpkLWXCfEPVyEyY /LTv1+Os9jvHqIXyysLc2GutOTc1Y3YeXHp4Cp73nHQnKy5TNFbJrbKqvNVy85fqTC9UI2 xxfo7OMCzmbeMBiDe6S9bFL3A2i2hJ1E4zzsFCJdKnQyXlsfjSq0jaIM9G3LtuyytcMGRC JLIT6DkNd8zXYbAFSMR2wK1L44JhFcl8mVn/FHuHnlA89PMrS8OLEMjzbLbSYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625404910; a=rsa-sha256; cv=none; b=nV95I1jQXpGWNUrO6fu76WwtQ69BVsplqLl6HDSKmrOXzAxj5IDJRWLVD/w6jiELMd0eI3 ZZygIri4qhgnuoHUfazpbc67W+LRLRM3dRwU+6oc0G4qiiZ6jW2/FRjDjgufeZ+6uIhw79 PDW3sK11NN5vTywJ+LEsMm+98WrNrSaBBWU6LZRbb075k696Mob4VTqZCyvATgMN7AFY85 fUwg/CsP4L8Gx9CHPDuUD40L+AWRwMutq3iC26Gautb8AJjv1kL81bKbZNwolB99ZP9h6+ vNh7u8Vz/PvSe69865jORPg4hyUeMWovL7N/YVUWl3vHD9BOfL/yCnlp3v3A+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=e5wq6rCs; 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: -3.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yoctocell.xyz header.s=mail header.b=e5wq6rCs; dmarc=pass (policy=none) header.from=yoctocell.xyz; 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: E7D9A1F5F3 X-Spam-Score: -3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: G0IzKCuvjXdm --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Jun 29 2021, Ludovic Court=C3=A8s wrote: > Hi, > > Xinglu Chen skribis: > >> On Wed, Jun 23 2021, Ludovic Court=C3=A8s wrote: > > [...] > >>> Anyway, I backed up a bunch of files :-) and eventually gave it a try, >>> just to notice that =E2=80=98guix home reconfigure=E2=80=99 was very ca= reful about >>> creating backups of any files it was going to overwrite, and it was also >>> explicitly saying what it=E2=80=99s doing. Perfect. >> >> Yeah, the output is pretty verbose, which is good if someone is just >> getting started with it, but there should probably also be an option to >> make it less verbose. > > Yes. Also, we=E2=80=99ll have to make sure it=E2=80=99s internationalize= d. How would we do that? Would we use (G_ ...) or something? >>> Possible actions: >>> >>> 1. Provide a =E2=80=98guix home init=E2=80=99 command (or similar) th= at creates an >>> initial Home config based on existing config. >> >> As Andrew mentioned, I recently added a =E2=80=98guix home import=E2=80= =99 command, but >> in only imports the installed user packages. Creating configurations >> for the packages would require a lot more work, unless we just read the >> contents of ~/.bashrc and ~/.config/git/config and use >> =E2=80=98home-generic-service=E2=80=99 and =E2=80=98plain-file=E2=80=99,= instead of using >> =E2=80=98home-bash-configuration=E2=80=99 and =E2=80=98home-git-configur= ation=E2=80=99. > > For SSH, generating something like: > > (service home-ssh-service-type > (home-ssh-configuration > (toplevel-options > `((include . ,(local-file "ssh.conf")))))) > > should be doable. But yeah, we=E2=80=99ll have to see on a case-by-case = basis > what can be achieved. Yeah, I will look more into adding something like this. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmDhtdMVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5GRUP+QEDjhTFEn7CjMNMEVf/R5sj2j+M LVmXBOMSDmQWc1dM+Gn5aEZWUmZNf4FUhEG0IJKGFu5FFRb0Wd5xgaD9VeeD/8sC /SZNkPInGXsY9UHUbyGfjjEmz9qmecwCn2V54v9lQ5P6LEoeTQIkgG/sWvRJzeTb wlYkrcKMI80VIG6OkAKcR1/hIb9dMhZE5MEwGIgdsFLSL4hTDCaaBJUXVHCU1R/j 37TVvUi2D+CEcR5oTDIagnMelF5+NvMmpWemPTWx88evTM0oX6lptwshuPyhe/+k h0JKuZNdiMvB3u8fJxDN/qADTHNXWpmjS8dB310A6LzWEzTPHVbiTSfo5ldheHkP 1tkT4rvnuu9pHgou5WQ/Q3TPOkanOPIHD1GNXygF/IW2MCU+dIemhXx79usT9kMN 8CnVQl7uXcLMFL2PGLQCbosEHyE2HZWUe48o8PGHtGZpzWcknLmF+qCSelTWNt5V fNDRXJv8FeJmbhRzxeDi7z3ngj/copDE5vOtYAncqT79XutGBVxrPNhmV0mz8A/e 5ER2JymJ61rbENdYqEeseTLPFcaYY7l7A65krZTcmP4uNThsIV+s1nWvLz3Hy+VX Kw/ihQ/kYQc4sS35r0UM/T2NgzAtxxUE6u3q2FwaadcHlWbjokfsw8Tt6n3klR6X 7RHfCWeC3nj7pNsU =/9Wh -----END PGP SIGNATURE----- --=-=-=--