diff mbox series

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

Message ID 20221111141728.28295-1-eu@euandre.org
State New
Headers show
Series [bug#59195] services: vpn: Add wireguard-tools to profile-service-type | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue

Commit Message

EuAndreh Nov. 11, 2022, 2:17 p.m. UTC
* 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(-)

Comments

Mathieu Othacehe Nov. 12, 2022, 5:42 p.m. UTC | #1
> * 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.

Applied, thanks.

Mathieu
diff mbox series

Patch

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.")))