unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74954] [PATCH] services: wireguard: Export wireguard-configuration-file.
@ 2024-12-18 23:39 Tomas Volf
  0 siblings, 0 replies; only message in thread
From: Tomas Volf @ 2024-12-18 23:39 UTC (permalink / raw)
  To: 74954; +Cc: Tomas Volf

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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-18 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 23:39 [bug#74954] [PATCH] services: wireguard: Export wireguard-configuration-file Tomas Volf

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).