GNU bug report logs - #59195
[PATCH] services: vpn: Add wireguard-tools to profile-service-type

Previous Next

Package: guix-patches;

Reported by: EuAndreh <eu <at> euandre.org>

Date: Fri, 11 Nov 2022 14:19:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: EuAndreh <eu <at> euandre.org>
To: 59195 <at> debbugs.gnu.org
Cc: EuAndreh <eu <at> euandre.org>
Subject: [bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-service-type
Date: Fri, 11 Nov 2022 11:17:28 -0300
* gnu/services/vpn.scm (wireguard-service-type): Include the
  "wireguard-tools" package as an extension to profile-service-type, so
  that users that enable the wireguarde service can interact with it via
  the command-line without having to manually install wireguard-tools.
---
 gnu/services/vpn.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 6f2821eccf..5cdfa97add 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -875,6 +875,8 @@ (define wireguard-service-type
     (list (service-extension shepherd-root-service-type
                              wireguard-shepherd-service)
           (service-extension activation-service-type
-                             wireguard-activation)))
+                             wireguard-activation)
+          (service-extension profile-service-type
+                             (const wireguard-tools))))
    (description "Set up Wireguard @acronym{VPN, Virtual Private Network}
 tunnels.")))
-- 
2.38.1





This bug report was last modified 2 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.