topology: extend some more

This commit is contained in:
h7x4
2025-12-31 02:40:02 +09:00
parent 843f8d6a02
commit 7cff6b197c
6 changed files with 124 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
{ config, unstablePkgs, lib, ... }:
let
cfg = config.services.gitea-actions-runner;
in
{
config.topology.self.services = lib.mapAttrs' (name: instance: {
name = "gitea-runner-${name}";
value = {
name = "Gitea runner ${name}";
icon = "services.gitea";
};
}) (lib.filterAttrs (_: instance: instance.enable) cfg.instances);
}