From cf218520cbc25a4677725aeff67bdae2d3535613 Mon Sep 17 00:00:00 2001 From: Ray Miller Date: Sat, 30 Nov 2024 11:23:25 +0000 Subject: [PATCH] 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. --- systems/little-rascal.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/systems/little-rascal.scm b/systems/little-rascal.scm index 44086ac..cb31e8c 100644 --- a/systems/little-rascal.scm +++ b/systems/little-rascal.scm @@ -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)))