mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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.
This commit is contained in:
parent
12255b3dce
commit
96c7b4c846
1 changed files with 17 additions and 0 deletions
|
@ -39,6 +39,7 @@ (define-module (gnu services desktop)
|
|||
#: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)
|
||||
|
@ -800,6 +801,21 @@ (define* (accountsservice-service #:key (accountsservice accountsservice))
|
|||
accountsservice web site} for more information."
|
||||
(service accountsservice-service-type accountsservice))
|
||||
|
||||
|
||||
;;;
|
||||
;;; 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 @@ (define %desktop-services
|
|||
(udisks-service)
|
||||
(upower-service)
|
||||
(accountsservice-service)
|
||||
(service cups-pk-helper-service-type)
|
||||
(colord-service)
|
||||
(geoclue-service)
|
||||
(service polkit-service-type)
|
||||
|
|
Loading…
Reference in a new issue