aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/desktop.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-01 14:00:39 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-01 14:57:03 +0200
commit38c2b503545c7f214ff7670bd9f62bdebb59186d (patch)
tree42e7479ac774adef2a8a9ef78b0feb2fb8a2343a /gnu/services/desktop.scm
parent5fd66a37d58aa13091134d5e6e5f8c62f404ebfe (diff)
downloadguix-38c2b503545c7f214ff7670bd9f62bdebb59186d.tar
guix-38c2b503545c7f214ff7670bd9f62bdebb59186d.tar.gz
Reinstate "services: elogind: Provide '%elogind-file-systems' by extension."
This reverts commit 17073dafc59d62fb8cbb8b94d61d3ecc488ac59f.
Diffstat (limited to 'gnu/services/desktop.scm')
-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