summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-08-21 19:03:29 +0200
committerLudovic Courtès <ludo@gnu.org>2016-08-22 00:20:48 +0200
commit3cf319a3f8e23831960a0f1320122cc514188a37 (patch)
tree74b35f20e49004ec1aae874fc83d6dd293356d2a /gnu/services
parentaa1145df8d43187f3e92aa505298cdeca4fb1191 (diff)
services: elogind: Provide '%elogind-file-systems' by extension.
* gnu/system/file-systems.scm (%base-file-systems): Remove %ELOGIND-FILE-SYSTEMS. * gnu/services/desktop.scm (elogind-service-type): Extend FILE-SYSTEM-SERVICE-TYPE to provide %ELOGIND-FILE-SYSTEMS.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/desktop.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index bf21707bfe..df93bc8e10 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -27,6 +27,8 @@
#:use-module (gnu services avahi)
#:use-module (gnu services xorg)
#:use-module (gnu services networking)
+ #:use-module ((gnu system file-systems)
+ #:select (%elogind-file-systems))
#:use-module (gnu system shadow)
#:use-module (gnu system pam)
#:use-module (gnu packages glib)
@@ -760,7 +762,11 @@ seats.)"
;; Extend PAM with pam_elogind.so.
(service-extension pam-root-service-type
- pam-extension-procedure)))))
+ pam-extension-procedure)
+
+ ;; We need /run/user, /run/systemd, etc.
+ (service-extension file-system-service-type
+ (const %elogind-file-systems))))))
(define* (elogind-service #:key (config (elogind-configuration)))
"Return a service that runs the @command{elogind} login and seat management