mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
87b5209558
commit
3547a5effe
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue