@@ -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.
;;;