From patchwork Fri Nov 11 14:17:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 44457 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 84FD727BBED; Fri, 11 Nov 2022 14:20:01 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B645E27BBE9 for ; Fri, 11 Nov 2022 14:19:57 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otUsS-0000Xi-Jx; Fri, 11 Nov 2022 09:19:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otUs4-0006Sw-Qo for guix-patches@gnu.org; Fri, 11 Nov 2022 09:19:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otUs2-00050x-JU for guix-patches@gnu.org; Fri, 11 Nov 2022 09:19:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1otUs2-000076-3Q for guix-patches@gnu.org; Fri, 11 Nov 2022 09:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59195] [PATCH] services: vpn: Add wireguard-tools to profile-service-type Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Nov 2022 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59195 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59195@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1668176307384 (code B ref -1); Fri, 11 Nov 2022 14:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2022 14:18:27 +0000 Received: from localhost ([127.0.0.1]:45455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otUrS-000068-Ub for submit@debbugs.gnu.org; Fri, 11 Nov 2022 09:18:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:56386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1otUrQ-00005z-Nj for submit@debbugs.gnu.org; Fri, 11 Nov 2022 09:18:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otUrQ-0002As-7k for guix-patches@gnu.org; Fri, 11 Nov 2022 09:18:24 -0500 Received: from box.euandre.org ([46.101.160.115]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otUrO-0004nh-6e for guix-patches@gnu.org; Fri, 11 Nov 2022 09:18:23 -0500 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 6F4A3FC406; Fri, 11 Nov 2022 11:17:42 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1668176263; bh=pB0KetSrnOltwmqPD7XTx+/uBXoo89mbRFbaJ7q1X2s=; h=From:To:Cc:Subject:Date:From; b=nPSMABR8wSmMpoOeJwLowQJ/dURNfZE5g2odxltXpYJ50FWYePb/sEBjnMG6MEW0K TjpgXLOtU4/bBlWM+Ok/pxnuC8sF9h16b98L7jyV2DDzUHj+XfOaBb0pyMXtoU48pV 9UFG1W611aPdKFA0+mTiHw3HvoDVEzPbk7LSf7xJoB+EDvBZjMoAthjRXy69YSY5L3 FWTNVQZibTa8qrOIO0ILGFLeUtcgIDY/IlBJNq4kfnceGsNhB317fwzcv9QG5f55nY s7KjcacA2KUXSIGIIZqPNtd/plo+fio7PghlCKOsEmk9jeyvdtCsTdEQL1r2S7i4S5 7tk0KIQ9pk83A== Date: Fri, 11 Nov 2022 11:17:28 -0300 Message-Id: <20221111141728.28295-1-eu@euandre.org> MIME-Version: 1.0 Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@euandre.org; helo=box.euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches X-Patchwork-Original-From: EuAndreh via Guix-patches via From: EuAndreh Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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.")))