[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-servic
From: |
EuAndreh |
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
- [bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-service-type,
EuAndreh <=