From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GPUxJZlDzGD4tAAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 08:56:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4MjHIJlDzGCVFAAA1q6Kng (envelope-from ) for ; Fri, 18 Jun 2021 06:56:25 +0000 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 5DF152737F for ; Fri, 18 Jun 2021 08:56:24 +0200 (CEST) Received: from localhost ([::1]:36752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lu8QR-0000yV-Jy for larch@yhetil.org; Fri, 18 Jun 2021 02:56:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lu8PC-0007j8-Sf for guix-patches@gnu.org; Fri, 18 Jun 2021 02:55:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lu8PC-0005Ok-HV for guix-patches@gnu.org; Fri, 18 Jun 2021 02:55:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lu8PC-000625-Dd for guix-patches@gnu.org; Fri, 18 Jun 2021 02:55:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v5 25/25] services: Add bitmask-service-type. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jun 2021 06:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 48729@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162399930423158 (code B ref 48729); Fri, 18 Jun 2021 06:55:06 +0000 Received: (at 48729) by debbugs.gnu.org; 18 Jun 2021 06:55:04 +0000 Received: from localhost ([127.0.0.1]:55621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lu8PA-00061G-32 for submit@debbugs.gnu.org; Fri, 18 Jun 2021 02:55:04 -0400 Received: from out1.migadu.com ([91.121.223.63]:37853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lu8P0-000606-Fp for 48729@debbugs.gnu.org; Fri, 18 Jun 2021 02:54:54 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1623999293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=61zOK+ddbckELaC5J5eRUhjahsJ1na5qJus8ZZlTAfc=; b=paANln/sIk3Swr2IxAdq+vhJxmvgJTARCTuHOQ4/hPbW52P8wJ53HGnu82U9f3+IJV+7rx /Ewt5kOaYcvssNRUjzccPc/vyLyuEw4G8cKrETeS+xSN7B7GshPHiLHj9CIclE6qnsLKiN Zi+1GT2xccv+DFaLTqqr+MWxF6NfbdcphZOF1XEpJMrkTwOlFxAXXIS31ora6ePItXsKX/ kxeNhB6jv0atX0kwA8+6YaJTj4vWhHNkDIE0VSHyO/zNuuWdgdiKyesMtJ35x+EunaPF+s ow185OvZ55y8CNlCck1fuMiGnWeKojpX66mHcEY4rmNqy1yr7IDUcfyiEyAXHw== Date: Fri, 18 Jun 2021 02:54:16 -0400 Message-Id: <20210618065416.22391-25-rg@raghavgururajan.name> In-Reply-To: <20210618065416.22391-14-rg@raghavgururajan.name> References: <20210618065416.22391-14-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 5DF152737F X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: P4EiM53oJ0lr * gnu/services/vpn.scm (bitmask-service-type): New variable. --- gnu/services/vpn.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm index 2bcbf76727..b85a764b87 100644 --- a/gnu/services/vpn.scm +++ b/gnu/services/vpn.scm @@ -23,6 +23,7 @@ (define-module (gnu services vpn) #:use-module (gnu services) #:use-module (gnu services configuration) + #:use-module (gnu services dbus) #:use-module (gnu services shepherd) #:use-module (gnu system shadow) #:use-module (gnu packages admin) @@ -63,6 +64,22 @@ wireguard-service-type)) +;;; +;;; Bitmask VPN +;;; + +(define-public bitmask-service-type + (service-type + (name 'bitmask) + (description "Setup the @uref{https://bitmask.net, Bitmask} VPN application.") + (default-value bitmask) + (extensions + (list + ;; To configure polkit policy of bitmask. + (service-extension polkit-service-type list) + ;; To add bitmask to the system profile. + (service-extension profile-service-type list))))) + ;;; ;;; OpenVPN. ;;; -- 2.32.0