diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-12-29 23:20:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-12-29 23:35:42 +0100 |
commit | 3547a5effecfa19f73af29f0d503f5a231025672 (patch) | |
tree | dc88eb7fa325c3be4e4d5fa2b20de20637ef551d /gnu/services/desktop.scm | |
parent | 87b52095584ccd2ff50f8abd2c585ea3650ece1c (diff) | |
download | gnu-guix-3547a5effecfa19f73af29f0d503f5a231025672.tar gnu-guix-3547a5effecfa19f73af29f0d503f5a231025672.tar.gz |
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'.
Diffstat (limited to 'gnu/services/desktop.scm')
-rw-r--r-- | gnu/services/desktop.scm | 5 |
1 files changed, 5 insertions, 0 deletions
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) |