Configure elogind service

This is required to create /run/user/$UID on login. Without that
directory the Guix on-first-login script fails to start the user
shepherd service.
This commit is contained in:
Ray Miller 2024-11-30 11:23:25 +00:00
parent 58e379eda7
commit cf218520cb

View file

@ -2,7 +2,7 @@
;; for a "bare bones" setup, with no X11 display server. ;; for a "bare bones" setup, with no X11 display server.
(use-modules (gnu)) (use-modules (gnu))
(use-service-modules networking ssh) (use-service-modules networking ssh desktop)
(use-package-modules screen ssh) (use-package-modules screen ssh)
(operating-system (operating-system
@ -72,5 +72,6 @@ root ALL=(ALL) ALL
`(("ray" ,(local-file "./files/authorized_keys")) `(("ray" ,(local-file "./files/authorized_keys"))
("root" ,(local-file "./files/authorized_keys")))) ("root" ,(local-file "./files/authorized_keys"))))
(openssh openssh-sans-x) (openssh openssh-sans-x)
(port-number 22)))) (port-number 22)))
(service elogind-service-type))
%base-services))) %base-services)))