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:
parent
58e379eda7
commit
cf218520cb
1 changed files with 7 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
;; for a "bare bones" setup, with no X11 display server.
|
||||
|
||||
(use-modules (gnu))
|
||||
(use-service-modules networking ssh)
|
||||
(use-service-modules networking ssh desktop)
|
||||
(use-package-modules screen ssh)
|
||||
|
||||
(operating-system
|
||||
|
@ -50,10 +50,10 @@ root ALL=(ALL) ALL
|
|||
|
||||
;; Add services to the baseline: static networking and an SSH server.
|
||||
(services (append (list (simple-service 'add-extra-hosts
|
||||
hosts-service-type
|
||||
(list (host "192.168.1.110" "limiting-factor" '("forge.1729.org.uk"))
|
||||
(host "192.168.1.167" "cargo-cult" '())))
|
||||
(service static-networking-service-type
|
||||
hosts-service-type
|
||||
(list (host "192.168.1.110" "limiting-factor" '("forge.1729.org.uk"))
|
||||
(host "192.168.1.167" "cargo-cult" '())))
|
||||
(service static-networking-service-type
|
||||
(list (static-networking
|
||||
(addresses
|
||||
(list (network-address
|
||||
|
@ -72,5 +72,6 @@ root ALL=(ALL) ALL
|
|||
`(("ray" ,(local-file "./files/authorized_keys"))
|
||||
("root" ,(local-file "./files/authorized_keys"))))
|
||||
(openssh openssh-sans-x)
|
||||
(port-number 22))))
|
||||
(port-number 22)))
|
||||
(service elogind-service-type))
|
||||
%base-services)))
|
||||
|
|
Loading…
Reference in a new issue