channel

My GNU Guix channel
Log | Files | Refs | README

commit 46c1f6fe5b7b3cbad98f154e3270b4f3ea03838d
parent de7f9963137067eb4a7f44fcda109bd89f9ae4ea
Author: Luke Willis <lukejw@loquat.dev>
Date:   Sun, 21 Sep 2025 20:42:25 -0400

Add laity services

Diffstat:
Mloquat/services.scm | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/loquat/services.scm b/loquat/services.scm @@ -17,6 +17,7 @@ #:export (%loquat-clergy-base-services %loquat-desktop-services)) +;; Provide substitutes for laity on the same network (define %loquat-clergy-base-services (append (list @@ -36,6 +37,18 @@ (substitute-urls %loquat-substitute-urls) (authorized-keys %loquat-authorized-guix-keys)))))) +;; Discover clergy on the local network and use them as a substitute +(define %orchard-laity-base-services + (modify-services %base-services + ;; Authorize all the signing keys of the 'clergyman' systems + (guix-service-type + config => (guix-configuration + (inherit config) + (channels %loquat-channels) + (substitute-urls %loquat-substitute-urls) + (discover? #t) + (authorized-keys %loquat-authorized-guix-keys))))) + ;;; This is a slimmed-down DE-agnostic version of %desktop-services. ;;; It is meant to be built upon and does NOT include %base-services. ;;; TODO: Cleanup