From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aAsdFQ5abmOsXgEAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 15:19:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IM8uFA5abmMfGgEAG6o9tA (envelope-from ) for ; Fri, 11 Nov 2022 15:19:58 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C129C1D926 for ; Fri, 11 Nov 2022 15:19:57 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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 From: EuAndreh via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668176398; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kysCLmMGRX9I66KsGnKoTxL/HpW7dZaCvm4EL5YI0pM=; b=r4drYI1RNtdT72o+DM6S9UI7+Sf0a24/vtiSgfzyfubn0mHGvFjwgYdhnQ09ipleS8jd6H VfbzNBXBPobCVcgDWn+UX87Rf72g0UkCHl0dtUqmTziTglKcxhx9e+c6BXXe9+iOHMlP/s 8e8tdiEIeROmyDItrgnlrtnLnuuTur4KNsR82sWvf8LysVMzmp6m1UizxBKt/XA0ISBwZM iRNhw83j2+4dfuILTNApd6T8zxwuIy4UIOMPGK9Wxg3lMEdX+xDwkEmA7T1JyUwTislt7R dUGrYGRQ6II+SajUns8gyvabdtZQ1Zh6ycvTA4tOmbvZyuCp716KvJeGKoCnYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668176398; a=rsa-sha256; cv=none; b=UYZQQULj9phePlZ+sNAuHF8ZaqRFgjCFYgreEHIWW/fKM/Pgzr221uZlivXWVqd7IIoaCt BD9gflypfBMM6oCLNevvsfu2y+yPWtimLx8L6QDh89TLFyw0RAEt2GwGSTqKQYd5RP47Yb cTkPBHOtmdMidBEb25um0Dj317OcWBaOFGwDINzolpmiHaSAEo4bP7Qh5i2dsnvUY7M9Iq vqjNkBUwteP6SBuv+6EjMBUJITAnVa3Bek2CwWHynT3zQsiUbG+zR8j/b0NNFmOR+3l757 J7RU8XbdRa6H9hRQ6yVZQuJyGe1KGGlVAL4U7AoPp5dACoutCGh7tz7U6reUOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=nPSMABR8; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=nPSMABR8; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C129C1D926 X-Spam-Score: -3.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: yHqH68rQoP6w * 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