Tomas Volf wrote 3 months ago
(address . guix-patches@gnu.org)(name . Tomas Volf)(address . ~@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