From 3547a5effecfa19f73af29f0d503f5a231025672 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Dec 2016 23:20:57 +0100 Subject: services: Add libmtp's udev rules to '%desktop-services'. Suggested by Chris Marusich . * gnu/services/desktop.scm (%desktop-services): Add 'mtp' service via call to 'simple-service'. --- gnu/services/desktop.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 7555780ade..36049587d3 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -40,6 +40,7 @@ #: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 @@ with the administrator's password." (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) -- cgit 1.4.1