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 ms13.migadu.com with LMTPS id eM/XA2pdY2d0PgAAqHPOHw:P1 (envelope-from ) for ; Wed, 18 Dec 2024 23:40:26 +0000 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 eM/XA2pdY2d0PgAAqHPOHw (envelope-from ) for ; Thu, 19 Dec 2024 00:40:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fArYwTiJ; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=IRgARgLL; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=BtLLoebs; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734565225; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AD70ghrI8Cjt+l3yNYiF1DF6CGNiNemJwEwbrwNmVaQ=; b=C2PaXow+b2lYt5ys0Qc8xL1YNslTiSzY4dqWk0xyKjWgy3pikHRtyxPVewIw2FgKKPgTeL 70ui0YHLSz2Ht5lRPvSGaIxXiflDMgk2sqAEL3DhiJv6Zg4kCJaLqke6GZvt/LHo4DBG0a N2R33RlE35D0Y1VLwcieaIFLWYGNJNaPJcfMAYUscpGq9mSIHdoI0m3BqYjl+wdEudzwdH X/2vAO/TcILw8GgaS72JcSWn5eCKvXoOF0mL+1bFC2hMM4mQtmh9jj40ZPQNj/yfQg4kps A1HQsWUSXQMJahx3gWO+aaYqq2rqIz7Ae7lnL+7oiwocmHZVFX8PDc8sPWhxOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734565225; a=rsa-sha256; cv=none; b=khnp1Q+Jo1jwIyPPJLab2cjbppSMG0koHp6rTCQE4TQcxbN/M7G0WNJt+KAOwwNGhIX1HU Jbxr4Txo22sDPMHBVm0RJBdg50ry6vLUdABm6tqmGFRf2gZN+NnIv8Rpzu+tWBuKA/O3Y3 fK2c6O+RDNaxpQJNhZA/xW3ZYBdu2gSHJqc1kRKUuGBnu9SZxRsMbj7fDlLdx7O72Gr1Yb uL7JsliV1NJzRiqmv7squdoJJNYml3hvz3/6oPNNfWwCuHQMnQZvPB7tzFpPV/+ll+5NLP zFnlKt0SSF/H0Vi9NlkehCcPoIYiI0Z01IeyvqIdLbuUcoQ4020d5pUzI0Awiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fArYwTiJ; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=IRgARgLL; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=BtLLoebs; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=wolfsden.cz (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 EEFD519754 for ; Thu, 19 Dec 2024 00:40:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) 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 ) 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 ) 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 ) 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" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Dec 2024 23:40:02 +0000 Resent-Message-ID: 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 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.78 X-Spam-Score: -2.78 X-Migadu-Queue-Id: EEFD519754 X-TUID: 4xHrwj2haPvT 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)) ;;; -- 2.46.0