summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aigis.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/aigis.scm b/aigis.scm
index de89e8a..8dcd66e 100644
--- a/aigis.scm
+++ b/aigis.scm
@@ -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))))))))