diff options
-rw-r--r-- | aigis.scm | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -20,7 +20,7 @@ (use-modules (gnu) (gnu services)) -(use-service-modules desktop xorg) +(use-service-modules desktop ssh xorg) (use-package-modules certs kodi) (operating-system @@ -48,11 +48,12 @@ (home-directory "/home/dave")))) (packages (cons* nss-certs %base-packages)) (services - (modify-services %desktop-services - (slim-service-type config => - (slim-configuration - (inherit config) - (auto-login? #t) - (default-user "dave") - (auto-login-session - #~(string-append #$kodi "/bin/kodi-standalone"))))))) + (let ((kodi-session #~(string-append #$kodi "/bin/kodi-standalone"))) + (cons (lsh-service #:initialize? #t) + (modify-services %desktop-services + (slim-service-type config => + (slim-configuration + (inherit config) + (auto-login? #t) + (default-user "dave") + (auto-login-session kodi-session)))))))) |