diff --git a/roles/forgejo-runner.nix b/roles/forgejo-runner.nix index d6809fa..09155e5 100644 --- a/roles/forgejo-runner.nix +++ b/roles/forgejo-runner.nix @@ -22,10 +22,11 @@ config = let cfg = config.forgejo-runner; + cachePort = 39175; in { networking.firewall.allowedTCPPorts = [ - 39175 # Cache port + cachePort ]; sops.secrets = { @@ -68,7 +69,8 @@ cache = { enabled = true; host = host.ip; - port = 39175; + port = cachePort; + actions_cache_url_override = "http://${host.ip}:${toString cachePort}"; }; container = {