mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
services: Add "sane" service.
* gnu/services/desktop.scm (%desktop-services): Add "sane" service.
This commit is contained in:
parent
9448d0effc
commit
19b310901c
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,7 @@ (define-module (gnu services desktop)
|
||||||
#:use-module (gnu packages xfce)
|
#:use-module (gnu packages xfce)
|
||||||
#:use-module (gnu packages avahi)
|
#:use-module (gnu packages avahi)
|
||||||
#:use-module (gnu packages xdisorg)
|
#:use-module (gnu packages xdisorg)
|
||||||
|
#:use-module (gnu packages scanner)
|
||||||
#:use-module (gnu packages suckless)
|
#:use-module (gnu packages suckless)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages libusb)
|
#:use-module (gnu packages libusb)
|
||||||
|
@ -1154,6 +1155,8 @@ (define %desktop-services
|
||||||
;; Add udev rules for MTP devices so that non-root users can access
|
;; Add udev rules for MTP devices so that non-root users can access
|
||||||
;; them.
|
;; them.
|
||||||
(simple-service 'mtp udev-service-type (list libmtp))
|
(simple-service 'mtp udev-service-type (list libmtp))
|
||||||
|
;; Add udev rules for scanners.
|
||||||
|
(simple-service 'sane udev-service-type (list sane-backends-minimal))
|
||||||
;; Add polkit rules, so that non-root users in the wheel group can
|
;; Add polkit rules, so that non-root users in the wheel group can
|
||||||
;; perform administrative tasks (similar to "sudo").
|
;; perform administrative tasks (similar to "sudo").
|
||||||
polkit-wheel-service
|
polkit-wheel-service
|
||||||
|
|
Loading…
Reference in a new issue