diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-29 10:03:12 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-02-13 08:19:05 +0000 |
commit | 96c7b4c846214a9f04480fc1a5be37ac5c42744e (patch) | |
tree | db24b120bf3864f079b6a391e1270e3378242b25 /gnu/services/desktop.scm | |
parent | 12255b3dceec29f9d022386507bbc157af7ef840 (diff) | |
download | guix-96c7b4c846214a9f04480fc1a5be37ac5c42744e.tar guix-96c7b4c846214a9f04480fc1a5be37ac5c42744e.tar.gz |
services: Add cups-pk-helper.
This service integrates cups and PolicyKit. The gnome-control-center printing
section uses this functionality.
* gnu/sevices/desktop.scm (cups-pk-helper-service-type): New variable.
(%desktop-services): Add the cups-pk-helper service.
Diffstat (limited to 'gnu/services/desktop.scm')
-rw-r--r-- | gnu/services/desktop.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index fbeabf1162..a93fa3c356 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -39,6 +39,7 @@ #:use-module (gnu system pam) #:use-module (gnu packages glib) #:use-module (gnu packages admin) + #:use-module (gnu packages cups) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gnome) #:use-module (gnu packages xfce) @@ -802,6 +803,21 @@ accountsservice web site} for more information." ;;; +;;; cups-pk-helper service. +;;; + +(define cups-pk-helper-service-type + (service-type + (name 'cups-pk-helper) + (description + "PolicyKit helper to configure CUPS with fine-grained privileges.") + (extensions + (list (service-extension dbus-root-service-type list) + (service-extension polkit-service-type list))) + (default-value cups-pk-helper))) + + +;;; ;;; GNOME desktop service. ;;; @@ -990,6 +1006,7 @@ as expected."))) (udisks-service) (upower-service) (accountsservice-service) + (service cups-pk-helper-service-type) (colord-service) (geoclue-service) (service polkit-service-type) |