From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MAy/LJKCU2YpOgAAqHPOHw:P1 (envelope-from ) for ; Sun, 26 May 2024 20:42:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MAy/LJKCU2YpOgAAqHPOHw (envelope-from ) for ; Sun, 26 May 2024 20:42:26 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=DXkdvai1; 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"; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716748946; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:autocrypt:autocrypt; bh=CuZP7bVG5QqCkZ92eCeJSYZxBsIMmjFLdXT5V8/isz4=; b=LBfYvEwXYnGL/BlV74AZMs3AJPV9mjCxoL+vqGy6yz3TS0Xke7SX2D8zOqBJ09GQO6mMKo qW0ex/Q2gbGz0rhmjdq2kqzBdVUZmoU6OrT+DDg/ES2zgm3rNuFicdqv49RRxswzZfngKY zn6Y6cTPu9J5UDYFl92FWLJgGjvVJ9ZzwoMgippE+sryhcHOFL57gRiIq+PnIiXyDy16UB N8V0kt8Uw/WLH04rJqjyG8Df7aazIDqeBOoQCPVxGNFCL2NOG5YSbE5AkcaXNkoobZirIe Xr2rIv0+Z0JmItWZxKBW/kbwpwS83GQEIzUH4letevLceuVGf7y5q1TiBlcztg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=DXkdvai1; 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"; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716748946; a=rsa-sha256; cv=none; b=ddZ1l7d3/QcEaMM/9iBzH1DoT7TGSQNH+5WwCinrE1KWL0nSN0AeICMkQC4LG4DY6q88Vc qyLaMhvT+Hboz9tXe5MI2Un7cUwKnJxHd0vlLGl9vO1HNvpB7DRRFS1L5pCtNiv9PbHn0R sQAfPqgLtXb/swrHzpiIOLL0vb1GWRYNGqNO5DgH/HWeEbggAQaniI3CQ3CI5xlKAAY4e2 iNPYrK4iUUa+kwP5YucXC2cY47MlNqDRqDwgf1mTN8oI+fGluNeLfMNcPgzcz5g3+PLcCe zTYBtKiAx8Dny9ob2Bt+9k/NvEx3JdtwX5Ge4NGvg/L1cDrTBCw5hT6FDoE/Pg== 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 E3C996E941 for ; Sun, 26 May 2024 20:42:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBIol-0004r0-L2; Sun, 26 May 2024 14:42:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBIog-0004pv-Ep for help-guix@gnu.org; Sun, 26 May 2024 14:41:58 -0400 Received: from [81.190.248.246] (helo=marekpasnikowski.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBIob-00044L-O6 for help-guix@gnu.org; Sun, 26 May 2024 14:41:55 -0400 Received: from localhost (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id ed39dd65 for ; Sun, 26 May 2024 18:41:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=marekpasnikowski.pl; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=dkim; bh=OPrMTwvDJLIDEYut2oNKqqPBS pk0PwcEVXdTWe13hJQ=; b=DXkdvai1zFSYSDGmP+PiHx6gd1cNRcW2nSg+WreBQ 7atFHCWysOClU4emVHSmiDSm90/UlpzCuqA3bzwMtyd4RLUB2SHHs9FTsucrG6GC 8ICdq9KAFvdadqbIKqG1st+ozEEsZxI9CBHgx1OkiofQ7EQ+mx+aVnpPZqInvALB 05OPawyL2XU/e4qkikQkct+ihTrcZwstb2DvkE9EecKdAFDzoZK1tlKP+JRx/aAF FKmCb5KQcBcid2HB0O0Qtb9q8bob30GRtVCRUyyl82WOwIRFtS5WeBwvoo8c6rQi VODT+rPdJbHEsuicTc3D8JbqcvvfOuLs3Xq3ULsicqAFw== Received: by localhost (OpenSMTPD) with ESMTPSA id 5aae225c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 26 May 2024 18:41:49 +0000 (UTC) From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org Subject: Re: Automated /etc/config.scm Date: Sun, 26 May 2024 20:41:48 +0200 Message-ID: <1893175.CQOukoFCf9@akashi> In-Reply-To: <20D09A2B-5A17-4CE3-BC0F-8A1C3412D80F@selfhosted.xyz> References: <22299782.EfDdHjke4D@akashi> <20D09A2B-5A17-4CE3-BC0F-8A1C3412D80F@selfhosted.xyz> MI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ow8XahorbeHW2m3JgCJrUjZ7r QBBorq4dMDKCsqErlaD+DjaPsOIXYrT09HjEuuf+kyowrUSpZDqnBb7hspU1pEot9/b6E/9EVN1 DbW+ThU2sRD+KdvVJ9rYwG2k4Iak4CZJe1uICIMMultV42o7OCdIF5Ufi0Qhn0enZjdfjPIMZOV 3GIhRBABEBAAGJAjYEGAEIACAWIQRZDlAP450ms+YLdDttgbEgdxGJnwUCZYNtNAIbDAAKCRBtg bEgdxGJn7jbEADgK37EvVEK+7nBQR/5sB+gahxfP1zCAVlInb9ipLhbnB7WsckBaoAk9r01VDz+ jh4GZjWiYVj3rT3SfpwoYp61ciZMBGnWFrnd6Ibdd82pqAlrd6jOlZUVaFg5daQfUE/419hSiRL CBOFt0vIvHSUPfTJVrWMWgvBaztAvbuJhTARnVvg/lAzA6oZBluxvIgidM+ubRSuarE9f1QqMZN bGmd+hi/S13Gs2k9CLxrKBgVI/XzRNgvI6MA1RWtewH8J0J0h+8l/Fq3J4uYXKd2UhnfufAHjn2 YpQ1zMfDdHFVofL29eFhVbR8V2MlT2zRpcdcX40myoqmKnFra/kLZjLA45QwWmGHv4E8Uvh/BTm T06lmxz96vE5Ij+tAxwUBvMbcZC8B0c9q/FquNhdvqnVCT4lQCb8Rd8hmLe9dyjyo6w52NglAia LB6lExx0fftTPlLwyp1PgIkxawWhDTeZM749P37LY2bvHKKmjiAfO3Tydr6CF3LbLpYT3CdQqql 2l045luGSmB2iU8j0nq/v2NMCz/4CjZoK4wUEQ+3TnBnrHtmMCCKSBK3LY6fmmifFEMQUxcAe0A aJU58sMJDnBdvPD5UgtybQHsNHwfBs4WOeUoNns8yCUgXcdTQRFpdvOG8GawvvS+Zp7qmcMV+r/ /UDUeeYvAnCadFzZz2+1Ew== Content-Type: multipart/signed; boundary="nextPart23521671.6Emhk5qWAg"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 81.190.248.246 (failed) Received-SPF: pass client-ip=81.190.248.246; envelope-from=marek@marekpasnikowski.pl; helo=marekpasnikowski.pl X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_SORBS_DUL=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -11.41 X-Migadu-Queue-Id: E3C996E941 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -11.41 X-TUID: cvtk/K4RKo5B --nextPart23521671.6Emhk5qWAg Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Marek =?utf-8?B?UGHFm25pa293c2tp?= To: help-guix@gnu.org Subject: Re: Automated /etc/config.scm Date: Sun, 26 May 2024 20:41:48 +0200 Message-ID: <1893175.CQOukoFCf9@akashi> In-Reply-To: <20D09A2B-5A17-4CE3-BC0F-8A1C3412D80F@selfhosted.xyz> MIME-Version: 1.0 26.05.2024 20:03:24 CEST David Larsson: > Hi Marek, > > I think its not possible to have guix pull edit /etc/config.scm without > modifying how that command behaves in guix. > > But it is possible to edit /etc/config.scm when running guix system > reconfigure, by using a service as described here: > https://lists.gnu.org/archive/html/help-guix/2017-08/msg00095.html > > Though perhaps that's not exactly the answer you are looking for? > > If you want to be able to push new configs to some channel git repo and have > that reflected in a target host after a guix pull + reconfigure from the > host, then I can suggest adding system configuration variables in the > channel referring to the various systems you want to deploy. Then adding > minimal config.scm files on the deploy targets. Those config.scm files can > have '(use-module (mychannel my-systems))' or similar, and then just > '%my-os-system1', etc on the final line. > > I hope it helps, but not sure. > > Regards, > David I do not 'deploy' my systems. After reading the linked discussion and combining it with what I know; I think the best approach would be to dig into wherever guix pull caches the channel modules and link the newest revision of the system-configuration.scm to a predictable file; which could then be combined with with the reconfigure command for a quick update alias. :/ On the upside, this is my opportunity to learn more about Guix. While writing this response I digged around in $GUILE_LOAD_PATH and found a bunch of modules. Sadly, none of those are mine, but maybe they are only exposed to the guix build users? --nextPart23521671.6Emhk5qWAg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWQ5QD+OdJrPmC3Q7bYGxIHcRiZ8FAmZTgm0ACgkQbYGxIHcR iZ9TThAAxKoT3uu22LODLrNgDei+j0IMM8bVb16Dc9PkOVQC6pp+cJbBPUXndE3V ihbX8NPlFpJ+fvCqn2Pa1Fjy6ZoPiynyhySbANYTGhPmf7hafk/AUbVUNdITPtGq gzBtnZvLL3XeMnDC29DyIKa5tSQB0BCgt1DggqkKjnt7sEnwWmsXxzlA/A6vs37A 20TQ/Sp/fpKdbfSJkl4CgirYSoW5hijeDWblJdfRLVUDdpJfdVmQnXhhjPrDUKz3 NgAFA+tzAdkP2zJIDk7D25nJG+mJbPqAxFXF55Yade0Oq7xjiQ0On20ahUiV3guY EqluH6T+DH8Z+C5MehwrkCxL0Zl2fSLAlAg73eKQ9SGBcyMYPr3+foVdJ2XxM7dM RGdjOFy6ssHQ7YRi2/kCG4VZ6apbSBnjyk/7zxW062xfZloJiYlhcmW4CzEtKIs1 hE5DUDROWzzwGKX8pU5E3PNF9+QL8twWo8+oveuB9efuClPe13TZ7c9cBl8nrum0 7YBQpxZSjRS+PsgyAm1DE79EhxKr9Kq8s3Plpc4nx+lwzvrYTMXawef58hWjwA/x MFwLWWJu5M9yLev9JXx+4QpEHprVZnq7b1Q7i4v7LSJE76u2FUd6jEcmZnUgrJPA ZsUhs3zMeuiNg8603w6tpAIpLbHuVn012UphxWckCfspBksPfpM= =hs2R -----END PGP SIGNATURE----- --nextPart23521671.6Emhk5qWAg--