diff options
author | EuAndreh <eu@euandre.org> | 2022-11-11 11:17:28 -0300 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-11-12 18:40:16 +0100 |
commit | fb35b7cedd48a47820b0c250677b7ec6ac78fdc1 (patch) | |
tree | d142a3a1818368b1196342dca16095fb2fc0d918 /gnu/services | |
parent | 2757de2e2b271d87f6f72ba4161c2225fbdc9e78 (diff) | |
download | guix-patches-fb35b7cedd48a47820b0c250677b7ec6ac78fdc1.tar guix-patches-fb35b7cedd48a47820b0c250677b7ec6ac78fdc1.tar.gz |
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>
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/vpn.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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."))) |