From 3e09f9cb1905241a3d9bf4143f6e54f8b0992088 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 7 May 2024 21:46:22 +0200 Subject: [PATCH] fix: use proper name instead of out-of-scope n for runner names --- hosts/ami/forgejo-action-runner.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/ami/forgejo-action-runner.nix b/hosts/ami/forgejo-action-runner.nix index b11e572..00d5f47 100644 --- a/hosts/ami/forgejo-action-runner.nix +++ b/hosts/ami/forgejo-action-runner.nix @@ -16,7 +16,7 @@ in { instances = lib.genAttrs (builtins.genList (n: "runner${builtins.toString n}") numRunners) (name: { enable = true; - name = "runner${builtins.toString n}"; + inherit name; url = config.services.forgejo.settings.server.ROOT_URL; tokenFile = config.age.secrets.kitchen-runner-token.path; labels = ["docker" "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest"];