cluster/services/forge: use forService

This commit is contained in:
Max Headroom 2024-08-10 13:08:21 +02:00
parent 59703dd3d3
commit 7e0d8c32d4

View file

@ -17,9 +17,11 @@
};
};
ways.forge.target = let
ways.forge = let
host = builtins.head config.services.forge.nodes.server;
in config.lib.forService "forge" config.hostLinks.${host}.forge.url;
in config.lib.forService "forge" {
target = config.hostLinks.${host}.forge.url;
};
garage = config.lib.forService "forge" {
keys.forgejo.locksmith.nodes = config.services.forge.nodes.server;