guixsd-config

GuixSD configs for my systems
Log | Files | Refs

commit 43cab0eabe16e6e21611fed2a038cfd7ab971432
parent 8d1aa1310fc1ca69b4f68fb9612ae7ae33997126
Author: Vineet Kumar <git@vineetk.net>
Date:   Fri,  8 May 2026 23:01:25 -0400

demiurge: add simple-services for running my sdui and llm-router programs

Diffstat:
Mepistemia/systems/demiurge.scm | 28++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)

diff --git a/epistemia/systems/demiurge.scm b/epistemia/systems/demiurge.scm @@ -308,6 +308,34 @@ (service pam-limits-service-type (list (pam-limits-entry "@audio" 'both 'rtprio 99) (pam-limits-entry "@audio" 'both 'memlock 'unlimited))) + (simple-service 'llm-router + shepherd-root-service-type + (list (shepherd-service + (provision '(llm-router)) + (requirement '(user-processes networking guix-daemon)) + (documentation "llm-router service") + (start #~(make-forkexec-constructor + (list "/home/vin/.config/guix/current/bin/guix" "shell" + "-m" "/data/src/public/llm-router/manifest.scm" + "--" "python3" "app.py") + #:user "vin" + #:directory "/data/src/public/llm-router" + #:log-file "/var/log/llm-router.log")) + (stop #~(make-kill-destructor))))) + (simple-service 'sdui + shepherd-root-service-type + (list (shepherd-service + (provision '(sdui)) + (requirement '(user-processes networking guix-daemon)) + (documentation "sdui service") + (start #~(make-forkexec-constructor + (list "/home/vin/.config/guix/current/bin/guix" "shell" + "-m" "/data/src/public/sdui/manifest.scm" + "--" "python3" "app.py") + #:user "vin" + #:directory "/data/src/public/sdui" + #:log-file "/var/log/sdui.log")) + (stop #~(make-kill-destructor))))) ;; netx three temporary (service dbus-root-service-type) (service rootless-podman-service-type