Hi Justin, Justin Veilleux <terramor...@cock.li> skribis:
> For my os.scm, I want to create a service which encapsulates the > process of adding channels to the global channels file, adding > substitute urls to the daemon and also adding authorized keys to the > daemon. With the service extension system, I was able to do the first > thing by extending `special-files-service-type`. However, I cannot do > the last two things, because the current definition of > guix-service-type only exposes chroot-directories (what is the use > case for this, btw?). It used to be that qemu-binfmt support for Guix relied on extending ‘guix-service-type’ with extra “chroot directories”; this was changed in commit 77c2f4e2068ebec3f384c826c5a99785125ff72c, so this extension mechanism is no longer used. Perhaps we could now use the extension point for the purposes you suggest? Alternatively (or in addition to that), Brice (Cc’d) proposed adding a ‘channels’ field to <guix-configuration>: https://issues.guix.gnu.org/49610 Thanks, Ludo’.