From fa4e47a873c4edf04ba2be16eda5f84375322c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 21 Aug 2025 20:59:18 +0200 Subject: [PATCH] nix-cache01: fix instance name in runner --- services/actions-runner/default.nix | 60 +++++++++++++++-------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/services/actions-runner/default.nix b/services/actions-runner/default.nix index ad32aab..0992c61 100644 --- a/services/actions-runner/default.nix +++ b/services/actions-runner/default.nix @@ -6,38 +6,40 @@ }; services.gitea-actions-runner.instances = { - enable = true; - tokenFile = config.sops.secrets.cache-secret.path; - name = "actions1.home.2rjus.net"; - settings = { - log = { - level = "info"; + actions1 = { + enable = true; + tokenFile = config.sops.secrets.cache-secret.path; + name = "actions1.home.2rjus.net"; + settings = { + log = { + level = "info"; + }; + + runner = { + file = ".runner"; + capacity = 4; + timeout = "2h"; + shutdown_timeout = "10m"; + insecure = false; + fetch_timeout = "10s"; + fetch_interval = "30s"; + }; + + cache = { + enabled = true; + }; + + container = { + privileged = false; + }; }; - runner = { - file = ".runner"; - capacity = 4; - timeout = "2h"; - shutdown_timeout = "10m"; - insecure = false; - fetch_timeout = "10s"; - fetch_interval = "30s"; - }; + labels = [ + "homelab" + "ubuntu-latest" + ]; - cache = { - enabled = true; - }; - - container = { - privileged = false; - }; + url = "https://git.t-juice.club"; }; - - labels = [ - "homelab" - "ubuntu-latest" - ]; - - url = "https://git.t-juice.club"; }; }