summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-13 07:46:30 -0300
committerMathieu Othacehe <othacehe@gnu.org>2022-11-13 14:03:54 +0100
commit5ef933efa4d8f1b656f978023509222173ee6e9c (patch)
tree7acb1c8b24660d77c41fe699aa3b9771914e51e6 /gnu
parent80d10fa413cf43439f9ab94b6f69fe68811156da (diff)
downloadguix-5ef933efa4d8f1b656f978023509222173ee6e9c.tar.gz
services: vpn: Fix the profile wireguard package.
This is a follow-up of: fb35b7cedd48a47820b0c250677b7ec6ac78fdc1.

* gnu/services/vpn.scm (wireguard-service-type): Add the wireguard package
from the configuration to the profile.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/vpn.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 5cdfa97add..def381987b 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -877,6 +877,7 @@ PostUp = ~a set %i private-key ~a
           (service-extension activation-service-type
                              wireguard-activation)
           (service-extension profile-service-type
-                             (const wireguard-tools))))
+                             (compose list
+                                      wireguard-configuration-wireguard))))
    (description "Set up Wireguard @acronym{VPN, Virtual Private Network}
 tunnels.")))