cluster/services/forge: use forService
This commit is contained in:
parent
1b4c0d9ade
commit
5edb4620a8
1 changed files with 4 additions and 2 deletions
|
@ -17,9 +17,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ways.forge.target = let
|
ways.forge = let
|
||||||
host = builtins.head config.services.forge.nodes.server;
|
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" {
|
garage = config.lib.forService "forge" {
|
||||||
keys.forgejo.locksmith.nodes = config.services.forge.nodes.server;
|
keys.forgejo.locksmith.nodes = config.services.forge.nodes.server;
|
||||||
|
|
Loading…
Reference in a new issue