diff --git a/home-environments/radio.scm b/home-environments/radio.scm index b092c3e..7a5b182 100644 --- a/home-environments/radio.scm +++ b/home-environments/radio.scm @@ -147,7 +147,8 @@ (service home-shepherd-service-type (home-shepherd-configuration (shepherd (@ (shepherd-package) shepherd)) - (services (list shepherd-service:timer + (services (list shepherd-service:repl + shepherd-service:timer shepherd-service:wake-up)))) #|Shell services|# diff --git a/home-environments/radio/shepherd-services.scm b/home-environments/radio/shepherd-services.scm index 2936be6..d52911b 100644 --- a/home-environments/radio/shepherd-services.scm +++ b/home-environments/radio/shepherd-services.scm @@ -3,7 +3,21 @@ #:use-module (gnu services shepherd) #:use-module (shepherd service timer) - #:export (wake-up timer)) + #:export (repl timer wake-up)) + +#|Repl|# +(define repl + (shepherd-service + (provision '(repl)) + (modules '((shepherd service repl))) + (free-form #~(repl-service)))) + +#|Timers|# +(define timer + (shepherd-service + (provision '(timer)) + (modules '((shepherd service timer))) + (free-form #~(timer-service)))) (define timer-trigger-action (shepherd-action @@ -24,8 +38,3 @@ next calendar event."))) (stop #~(make-timer-destructor)) (actions (list timer-trigger-action)))) -(define timer - (shepherd-service - (provision '(timer)) - (modules '((shepherd service timer))) - (free-form #~(timer-service))))