mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
aa1145df8d
commit
3cf319a3f8
2 changed files with 7 additions and 2 deletions
|
@ -27,6 +27,8 @@ (define-module (gnu services desktop)
|
|||
#: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 @@ (define elogind-service-type
|
|||
|
||||
;; 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
|
||||
|
|
|
@ -257,7 +257,6 @@ (define %base-file-systems
|
|||
(append (list %pseudo-terminal-file-system
|
||||
%shared-memory-file-system
|
||||
%immutable-store)
|
||||
%elogind-file-systems
|
||||
%control-groups))
|
||||
|
||||
;; File systems for Linux containers differ from %base-file-systems in that
|
||||
|
|
Loading…
Reference in a new issue