services: Add libmtp's udev rules to '%desktop-services'.

Suggested by Chris Marusich <cmmarusich@gmail.com>.

* gnu/services/desktop.scm (%desktop-services): Add 'mtp' service via
call to 'simple-service'.
This commit is contained in:
Ludovic Courtès 2016-12-29 23:20:57 +01:00
parent 87b5209558
commit 3547a5effe
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -40,6 +40,7 @@ (define-module (gnu services desktop)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages suckless)
#:use-module (gnu packages linux)
#:use-module (gnu packages libusb)
#:use-module (guix records)
#:use-module (guix packages)
#:use-module (guix store)
@ -753,6 +754,10 @@ (define %desktop-services
(screen-locker-service slock)
(screen-locker-service xlockmore "xlock")
;; Add udev rules for MTP devices so that non-root users can access
;; them.
(simple-service 'mtp udev-service-type (list libmtp))
;; The D-Bus clique.
(avahi-service)
(wicd-service)