summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-01-05 13:51:02 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2020-01-20 18:46:07 +0100
commit19b310901c9d798722e6be849e335efc1fee0384 (patch)
treea9a014ad1ed341c87cf9f22637c2e37ee78c52b1 /gnu/services
parent9448d0effc5648f4ddad1bce4fe54323af3532a6 (diff)
downloadpatches-19b310901c9d798722e6be849e335efc1fee0384.tar
patches-19b310901c9d798722e6be849e335efc1fee0384.tar.gz
services: Add "sane" service.
* gnu/services/desktop.scm (%desktop-services): Add "sane" service.
Diffstat (limited to 'gnu/services')
-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 1be05fda4e..dec1c3fa0f 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -48,6 +48,7 @@
#:use-module (gnu packages xfce)
#:use-module (gnu packages avahi)
#:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages scanner)
#:use-module (gnu packages suckless)
#:use-module (gnu packages linux)
#:use-module (gnu packages libusb)
@@ -1154,6 +1155,8 @@ or setting its password with passwd.")))
;; Add udev rules for MTP devices so that non-root users can access
;; them.
(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
;; perform administrative tasks (similar to "sudo").
polkit-wheel-service