From 5edb4620a851124109313b63a3a4164b9d49a9af Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 10 Aug 2024 13:08:21 +0200 Subject: [PATCH] cluster/services/forge: use forService --- cluster/services/forge/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cluster/services/forge/default.nix b/cluster/services/forge/default.nix index 0259ab7..d095480 100644 --- a/cluster/services/forge/default.nix +++ b/cluster/services/forge/default.nix @@ -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;