unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tomas Volf <~@wolfsden.cz>
To: 74954@debbugs.gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [bug#74954] [PATCH] services: wireguard: Export wireguard-configuration-file.
Date: Thu, 19 Dec 2024 00:39:35 +0100	[thread overview]
Message-ID: <8a605bab69617689da76c0d9a95f69e869541d24.1734565175.git.~@wolfsden.cz> (raw)

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





                 reply	other threads:[~2024-12-18 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8a605bab69617689da76c0d9a95f69e869541d24.1734565175.git.~@wolfsden.cz' \
    --to=~@wolfsden.cz \
    --cc=74954@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).