From a2da805db2372f3c355de7c1125bb6eebe0583c0 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Mon, 25 Nov 2024 14:28:20 -0300 Subject: [PATCH] buer: shepherd-services: Add repl --- operating-systems/buer/shepherd-services.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/operating-systems/buer/shepherd-services.scm b/operating-systems/buer/shepherd-services.scm index 09a8ca7..c19272b 100644 --- a/operating-systems/buer/shepherd-services.scm +++ b/operating-systems/buer/shepherd-services.scm @@ -1,10 +1,19 @@ (define-module (buer shepherd-services) #:use-module (guix gexp) #:use-module (gnu services shepherd) + #:use-module (shepherd service repl) #:use-module (shepherd service timer) - #:export (guix-gc snapshot-@home timer)) + #:export (guix-gc snapshot-@home repl timer)) +#|Repl|# +(define repl + (shepherd-service + (provision '(repl)) + (modules '((shepherd service repl))) + (free-form #~(repl-service)))) + +#|Timers|# (define timer-trigger-action (shepherd-action (name 'trigger)