From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SMIMG7gwjmL6SgEAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 15:35:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2PrVGrgwjmJI9gAA9RJhRA (envelope-from ) for ; Wed, 25 May 2022 15:35:52 +0200 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 F060C12BB3 for ; Wed, 25 May 2022 15:35:51 +0200 (CEST) Received: from localhost ([::1]:43486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntrB0-0006P6-Mq for larch@yhetil.org; Wed, 25 May 2022 09:35:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntrAR-0006No-1k for help-guix@gnu.org; Wed, 25 May 2022 09:35:15 -0400 Received: from out2.mail.ruhr-uni-bochum.de ([2a05:3e00:c:1001::8693:2ae5]:52947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntrAM-0001hC-7w for help-guix@gnu.org; Wed, 25 May 2022 09:35:14 -0400 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4L7X9x615Yz8Vww; Wed, 25 May 2022 15:35:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1653485701; bh=+UPqVBPlHd0UVKrlr74T8Gpbjoe/H77Z7K/9jaeXDas=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=zDu5wCJrouXzfJtf2MR/mzvB89M/UWLxhIPnNukGcbAjDmMTLZ9jFkVUzWvXYjCC4 kzo9La7B+do0xwrPyUGSabR97oGC8f1ndQsq9QpUCRbc3/hCxd7T0N/guFfCjyazNM LJBF5NdoN4w/IFTSLtSRbIVBcBN7JMrn1MGWuDfE= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4L7X9x5HfBz8Vvj; Wed, 25 May 2022 15:35:01 +0200 (CEST) X-Envelope-Sender: X-RUB-Notes: Internal origin=134.147.42.236 Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4L7X9v3JMvz8VxV; Wed, 25 May 2022 15:34:58 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx2.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4L7X9t48LjzDgyN; Wed, 25 May 2022 15:34:58 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de From: =?utf-8?Q?Daniel_Mei=C3=9Fner?= To: =?utf-8?Q?S=C3=A9bastien?= Rey-Coyrehourcq Cc: Julien Lepiller , help-guix@gnu.org Subject: Re: Guix home, guix system, channels, some noob questions References: <05b8334e-8ecb-1373-97b3-10b8617ed3c8@univ-rouen.fr> <490A4062-75F7-4919-803D-47E98DF9421C@lepiller.eu> <85258fe5-a220-41c6-d153-86de8c6bd57e@univ-rouen.fr> <34587fa7-652f-19a0-3006-aa3e707b13fb@univ-rouen.fr> <357B4763-2DA0-4255-9E58-B882E8ED1A9A@lepiller.eu> <36a809b0-6d5a-2f29-4c5f-07a418e05cbd@univ-rouen.fr> <441E1AD5-DFC9-4BBD-A45C-8328B51BE8D6@lepiller.eu> <635b0475-0134-acb4-8245-afcb571327a0@univ-rouen.fr> <87ee0s62m7.fsf@ruhr-uni-bochum.de> <481369ed-182c-000c-5927-f8879503cc39@univ-rouen.fr> <877d6k5yf7.fsf@ruhr-uni-bochum.de> <87pmkc4g8z.fsf@ruhr-uni-bochum.de> <2e112f4a-980c-f3fb-167f-624914a71384@univ-rouen.fr> Date: Wed, 25 May 2022 15:34:58 +0200 In-Reply-To: <2e112f4a-980c-f3fb-167f-624914a71384@univ-rouen.fr> (=?utf-8?Q?=22S=C3=A9bastien?= Rey-Coyrehourcq"'s message of "Tue, 17 May 2022 18:02:17 +0200") Message-ID: <87ee0hhh19.fsf@ruhr-uni-bochum.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a05:3e00:c:1001::8693:2ae5; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out2.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653485752; 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=+cFDLey5bsXL7My1ymQBdnjOg5NFimjObHIwbOi0I6o=; b=qBkNRNEsbJhTOHMgGNhhih4isovi/IGYl7O6JhS3+6dfO5e1B5ZrCtkFFrZ/t+negnpQyI UOYrh1p+iB8+7+SyJ2UgK3drtph9eo0mkrPopWPi3aENBv5qZvMW3W2nCy4g4oqPcgs/6d aT2Qwk2URNNc/wXshzP4N1hUAzewFJZyBYG/X+JJqu2b0jzMBaJe6CjFP3oL5I8xIqyq7d hfqBw5H2xNJGm/veqSo81HR5dXBQyMsxoMxGXK1DE6UEOCnkF9CMV225QSMdC1m107W3qg 3Yefq+r4w8m7jlNOjW4R3vPeWejO7TS4O4NgJ+cOzMbTddl45V0xPoDm6uOk+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653485752; a=rsa-sha256; cv=none; b=mzItXei7E6oSA9q7kKPaWisRKqgZ0LRyQy+b/DQpvpPqokCLYHgw2/yQ3xOfXHuSrSk5le jJPMVyD08cUSvvuSKLmfOTqbViiMNDNsor5mV1gLyR6URpWABy1jbYVT8gKfkg9KyVzQ8h YxJwcEO44xVMF77CJ10SEm2WQCStLTkuo3m6OfN8KfpyQQ2B76P6U+IOJzAR4DVVahnirP rKcNTt2qzh6tRuSanAH13BHHyGSmarrrImeKXnkjAm77JJR7NX50WCUjH0yPr8CwtXfiOb E0AvmQwLq80xsq8DGVSTCOjgrctrqkLHK15WefRpa/3JrP3W9qtFGAuSVYMTlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=zDu5wCJr; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; 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: -3.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=zDu5wCJr; dmarc=pass (policy=quarantine) header.from=ruhr-uni-bochum.de; 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: F060C12BB3 X-Spam-Score: -3.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: KJQoXlAIGKHv Hi S=C3=A9bastien, S=C3=A9bastien Rey-Coyrehourcq writes: > Thanks,=C2=A0 in fact when i see *guix home* that was my first intention > (like home-manager in nix). > > The only things holding me back at the moment is two things : > > a) doom emacs flavour, how to manage the fact that doom use straigt.el > to maintain packages I am sorry, I am not using Doom Emacs, so I cannot be of any help in this regard. I manage my (relatively few) Emacs packages with Guix directly. > b) "password / secrets" management ? > > There are two things, file to directly encrypt (like ssh key) and > password to hide into configuration file (templating) > > b.1) So, that need to encrypt/decrypt more or less "on-the-fly" the > files using gpg/yubikey or age like yadm ( > https://yadm.io/docs/encryption ) or chezmoi > (https://www.chezmoi.io/user-guide/encryption/gpg/) do ? > > b.2) And for templating, like replacing ${mypassword} into some > configuration file by getting info stored into password manager like > "pass", i also don't know how to do that. > > Actually I have no idea how to do that with guile / guix home for b.1 > / b.2 Yes, that's indeed a problem and I haven't come up with a solution. I simply copy the respective files from machine to machine. Maybe someone else on this list has a better idea... > c) synchronization of my .dotfiles between two different OS/System : > Ubuntu (home) / Guix (work & home) > > Lot of people use Ubuntu in my work environment, so i need to maintain > some sort of compatibility between both systems for my dotfile (before > everyone use guix in 2030 ? :D). > > I suppose guix home work well with guix on top of ubuntu ? Yes, I think so, I haven't tested it though. You can, in principle, adapt the generated dotfiles to the machines you're deploying them to. You could, for example, use the hostname to distinguish them (untested): --8<---------------cut here---------------start------------->8--- (mixed-text-file "test.txt" "setting =3D " #~(case (gethostname) (("hosta") =3D> "foo") (("hostb") =3D> "bar") (else =3D> "foobar"))) --8<---------------cut here---------------end--------------->8--- Best --=20 Daniel