[PATCH] services: wireguard: Export wireguard-configuration-file.

  • Open
  • quality assurance status badge
Details
One participant
  • Tomas Volf
Owner
unassigned
Submitted by
Tomas Volf
Severity
normal

Debbugs page

Tomas Volf wrote 3 months ago
(address . guix-patches@gnu.org)(name . Tomas Volf)(address . ~@wolfsden.cz)
8a605bab69617689da76c0d9a95f69e869541d24.1734565175.git.~@wolfsden.cz
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(+)

Toggle diff (15 lines)
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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74954@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74954
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help