[bug#74954] services: wireguard: Export wireguard-configuration-file.

Message ID 8a605bab69617689da76c0d9a95f69e869541d24.1734565175.git.~@wolfsden.cz
State New
Headers
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(+)
  

Patch

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))
 
 ;;;