unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-service-type
@ 2022-11-11 14:17 EuAndreh via Guix-patches via
  2022-11-12 17:42 ` bug#59195: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-11-11 14:17 UTC (permalink / raw)
  To: 59195; +Cc: EuAndreh

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#59195: [PATCH] services: vpn: Add wireguard-tools to profile-service-type
  2022-11-11 14:17 [bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-service-type EuAndreh via Guix-patches via
@ 2022-11-12 17:42 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2022-11-12 17:42 UTC (permalink / raw)
  To: EuAndreh; +Cc: 59195-done


> * 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-12 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 14:17 [bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-service-type EuAndreh via Guix-patches via
2022-11-12 17:42 ` bug#59195: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).