aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/desktop.scm
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2019-11-23 19:58:11 +0100
committerLudovic Courtès <ludo@gnu.org>2019-11-30 23:50:40 +0100
commit27b77228cf06d88b25185124928df0dd43d56b80 (patch)
tree94a0d665ee495915da8751ba8252f5a21857264b /gnu/services/desktop.scm
parent7f25ff10e1c821da84c641e7f6c01c34a2ebe12e (diff)
downloadguix-27b77228cf06d88b25185124928df0dd43d56b80.tar
guix-27b77228cf06d88b25185124928df0dd43d56b80.tar.gz
services: Add polkit-wheel-service to %desktop-services.
* gnu/services/desktop.scm: (%desktop-services): Add polkit-wheel-service. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services/desktop.scm')
-rw-r--r--gnu/services/desktop.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 9eee2fa485..4a5898fbb9 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -1101,6 +1101,9 @@ dispatches events from it.")))
;; Add udev rules for MTP devices so that non-root users can access
;; them.
(simple-service 'mtp udev-service-type (list libmtp))
+ ;; Add polkit rules, so that non-root users in the wheel group can
+ ;; perform administrative tasks (similar to "sudo").
+ polkit-wheel-service
;; NetworkManager and its applet.
(service network-manager-service-type)