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>
This commit is contained in:
EuAndreh 2022-11-11 11:17:28 -03:00 committed by Mathieu Othacehe
parent 2757de2e2b
commit fb35b7cedd
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

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