[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48729] [PATCH v6 25/25] services: Add bitmask-service-type.
From: |
Raghav Gururajan |
Subject: |
[bug#48729] [PATCH v6 25/25] services: Add bitmask-service-type. |
Date: |
Tue, 22 Jun 2021 00:35:17 -0400 |
* gnu/services/vpn.scm (bitmask-service-type): New variable.
Co-authored-by: Jorge Gomez <jgart@disroot.org>
---
gnu/services/vpn.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 2bcbf76727..085bd2c6e1 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -4,6 +4,8 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
+;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Jorge Gomez <jgart@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +25,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 +66,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
- [bug#48729] [PATCH v6 16/25] gnu: Add go-github-com-mufti1-interconv., (continued)
- [bug#48729] [PATCH v6 16/25] gnu: Add go-github-com-mufti1-interconv., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 17/25] gnu: Add go-github-com-aead-chacha20., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 09/25] gnu: Add go-github-com-operatorfoundation-obfs4., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 15/25] gnu: Add go-github-com-opentracing-opentracing-go., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 12/25] gnu: Add go-github-com-blanu-dust., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 14/25] gnu: Add go-github-com-operatorfoundation-monolith-go., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 18/25] gnu: Add go-github-com-riobard-go-bloom., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 20/25] gnu: Add go-github-com-kataras-pio., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 21/25] gnu: Add go-github-com-kataras-golog., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 23/25] gnu: Add go-0xacab-org-leap-shapeshifter., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 25/25] services: Add bitmask-service-type.,
Raghav Gururajan <=
- [bug#48729] [PATCH v6 19/25] gnu: Add go-github-com-shadowsocks-go-shadowsocks2., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 22/25] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports., Raghav Gururajan, 2021/06/22
- [bug#48729] [PATCH v6 24/25] gnu: Add bitmask., Raghav Gururajan, 2021/06/22