try with forgejo git ssh port on 22

This commit is contained in:
pazpi 2026-04-14 16:47:58 +02:00
parent 9ad00da92a
commit a67d75e196
No known key found for this signature in database
4 changed files with 18 additions and 5 deletions

View file

@ -7,10 +7,12 @@ let
# Generate complete colmena host configs (imports + deployment)
mkColmenaHosts = builtins.mapAttrs (name: cfg: {
imports = inputs.self.nixosConfigurations.${name}._module.args.modules;
deployment = {
targetHost = hosts.${name} or null;
tags = cfg.tags;
};
deployment =
{
targetHost = hosts.${name} or null;
tags = cfg.tags;
}
// (if cfg ? colmenaSshPort then { targetPort = cfg.colmenaSshPort; } else { });
}) hostDefs;
in