Message ID | 8a605bab69617689da76c0d9a95f69e869541d24.1734565175.git.~@wolfsden.cz |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D823027BBEA; Wed, 18 Dec 2024 23:40:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_ALL,DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7A54827BBE2 for <patchwork@mira.cbaines.net>; Wed, 18 Dec 2024 23:40:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tO3eF-0001k1-OF; Wed, 18 Dec 2024 18:40:11 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tO3e8-0001jF-Na for guix-patches@gnu.org; Wed, 18 Dec 2024 18:40:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tO3e6-0003a8-OD for guix-patches@gnu.org; Wed, 18 Dec 2024 18:40:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=AD70ghrI8Cjt+l3yNYiF1DF6CGNiNemJwEwbrwNmVaQ=; b=fArYwTiJ6XnYh3jByp0WlVxxmTGJGaq3qpQ0qq1kxvjAERcHZbu/z7NwFBtygT3+Jx/3k7CCDy1TAjrLcZ5F+b2yxU2iCsGMK+t3AlyCG5Vm7hkNQ3JEafyombTEnHq6JCGYzlOZTtsjkbGWiuogteCXWl3DZLoi0Nign6TrnZdv+nIx3ZpZELS8alq2XQVT8iZbBYgYTDnOildbB+QxnFl8Ab5/I+wl9tiVvASbqGgWlSmv8PvhX7mTjO6A/Fp+5OwQ04ieQkSVRd/D8hDGaab6Z73gqmxmBcrhsjt7YzWu6NXlsE59e8l+4peh44wuwQjcsuvLw4tB5CBUDCQnqg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tO3e6-0008Or-Jh for guix-patches@gnu.org; Wed, 18 Dec 2024 18:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74954] [PATCH] services: wireguard: Export wireguard-configuration-file. Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Dec 2024 23:40:02 +0000 Resent-Message-ID: <handler.74954.B.173456519232261@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74954@debbugs.gnu.org Cc: Tomas Volf <~@wolfsden.cz> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173456519232261 (code B ref -1); Wed, 18 Dec 2024 23:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 23:39:52 +0000 Received: from localhost ([127.0.0.1]:36455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tO3dv-0008OH-OO for submit@debbugs.gnu.org; Wed, 18 Dec 2024 18:39:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:33134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tO3du-0008O8-5A for submit@debbugs.gnu.org; Wed, 18 Dec 2024 18:39:51 -0500 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 <~@wolfsden.cz>) id 1tO3dt-0001iI-C9 for guix-patches@gnu.org; Wed, 18 Dec 2024 18:39:49 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tO3dr-0003Uu-El for guix-patches@gnu.org; Wed, 18 Dec 2024 18:39:49 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 69BFF37DF87; Wed, 18 Dec 2024 23:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1734565184; bh=tgil8ErrQwVCMwn8zBU6lgq999z0vkMTTLl5+e69PUw=; h=From:To:Cc:Subject:Date; b=IRgARgLL5rH43XbEH4aVtylxFtVqtcwfzxpJrG46iklK0jIWkRhXErnperrLLzEY7 kbKyI9/CJMpdkeFcT6hrQavAkQW4/kAIIkERvc37y82AhxnlomEy7cybMOqHpP5xt3 sXG9XZr9e5uxlF2d/AFLGQXJd3CNaD92p0gCxriDqvRDP3/WCvOcWbgVtalr1RpCW8 J9Q6QXKlpzVSSMlnKY2px8SVjFmKXdXVGXn3ScZad69mMXmcYkecIGc8x5gYnxtfsf LsqQT0XOC3sPCj3BpuZ+XayYT4Ql/HM9ypIhOWJJf1rF3rrCzgLH7z/86htzsdfaY2 QIlCCn6W+MpXcw9mvLI9LMLdLYfxAsSd2R4HED8XfhIOQIFxe7HO9x3BWR1FRRS+oQ Mh5kW1ocBSHOjRpx9FE9hzVjuDC/6j53jAWEZF+ZEXrdffaZua7BCsSWeC20r2PKJB K+U0WLsFD/kSMLv0kVWkCS6cxmOLozg/Cp1IqlsqJ5kEsqOoTZqxdP6sFj8dnm9ex6 x52cxZ0kVZ4PAaCYqpujUO3Z7o3wGBPjVpiXnBaqPR9oAgG3TxDMLur3S9qj4pd/BU 73lJhPFAWDuNFP5ie3qnIO79v2oApje9EnJ0ebH62jw1pw2JYaxGO+dMpIfPaMbg0e g/9vRMTJYktA8mHKDIUkZZdo= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id AB15637D1BA; Wed, 18 Dec 2024 23:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1734565182; bh=tgil8ErrQwVCMwn8zBU6lgq999z0vkMTTLl5+e69PUw=; h=From:To:Cc:Subject:Date; b=BtLLoebsAjaMaMKL05L0E3jf4K0YgnmVud5x7eWC1ivRWzbFcUjJ7gZ2ek+skWpV8 szUEJ7oObrZdSvSUkbPDoeZPkZ/UukXMmXJwPbi5XnBgsvHAYrJGGiI6su5SE0KX/2 fzNdEZelkqswHzgWGR/MWkf5PG3+4RAzSJpvJTEdejzgNixUkXKStvgoJSPnbbKkrF mkQLvzoPfozvrAdtfdcFYP2+bkOG6A9VvALKIHxXfd053FPSgYME5Q4WzziNNBgNFA pnrjWaHTVmuiSWd8l2cSXKGpUvsIcUV/9RMP3jBLC6rUYhvuh9OIUIiI8NbWCivuNk C7NHacv9L3RSJo3y0JJwLPw73QAHGKKuW58qiRVGkcbp8B+0a5NoqVhmGIizL8I0kV 2WYqjjLntUN+Nrz0NIgYD8/f34o+zB20ha5Rf8iOgALjgBguxWf0IsXRNm96vme5Ti db8ANGRmBKQ5bdIlRDgT4LwXCDdf94GlX5YrJasImrRAH49oRmFtT5cDSD+YmeSTo/ H7W/YN+3YpQvZ3CeoS4vw8FUHW8hOraPmxPyFhXrUiIxLCP+uLIvFluDAtDdQD8C44 nQLhfToUTvJ0jUR+MTXA4B70Y3wXomkR4utbWTZqxJRkA4Md9uEko78zogDPt2ian0 WsnL0SblS6oPrttc+ErHmqAE= From: Tomas Volf <~@wolfsden.cz> Date: Thu, 19 Dec 2024 00:39:35 +0100 Message-ID: <8a605bab69617689da76c0d9a95f69e869541d24.1734565175.git.~@wolfsden.cz> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#74954] services: wireguard: Export wireguard-configuration-file.
|
|
Commit Message
Tomas Volf
Dec. 18, 2024, 11:39 p.m. UTC
When you want to invoke wg-quick yourself, for example from a script, this procedure is useful to produce the configuration file for it. * gnu/services/vpn.scm (define-module)<#:export>: Add wireguard-configuration-file. Change-Id: Ifab8a9d731de19d2943517bf18c156a56fea4cca --- gnu/services/vpn.scm | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm index 8e90032c93..573e2577b8 100644 --- a/gnu/services/vpn.scm +++ b/gnu/services/vpn.scm @@ -89,6 +89,8 @@ (define-module (gnu services vpn) wireguard-configuration-post-down wireguard-configuration-table + wireguard-configuration-file + wireguard-service-type)) ;;;