buer: shepherd-services: Add repl

main
Luis Guilherme Coelho 2024-11-25 14:28:20 -03:00
parent 55e3457d42
commit a2da805db2
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 10 additions and 1 deletions

View File

@ -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)