guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: vpn: Add wireguard-tools to profile-ser


From: guix-commits
Subject: branch master updated: services: vpn: Add wireguard-tools to profile-service-type.
Date: Sat, 12 Nov 2022 12:42:18 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new fb35b7cedd services: vpn: Add wireguard-tools to profile-service-type.
fb35b7cedd is described below

commit fb35b7cedd48a47820b0c250677b7ec6ac78fdc1
Author: EuAndreh <eu@euandre.org>
AuthorDate: Fri Nov 11 11:17:28 2022 -0300

    services: vpn: Add wireguard-tools to profile-service-type.
    
    * 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 wireguard service can interact with it via
    the command-line without having to manually install wireguard-tools.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 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 @@ PostUp = ~a set %i private-key ~a
     (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.")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]