From 5ce837b4057ecf311edf4420cefce0caa1c0ef4b Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 30 Dec 2023 21:33:42 -0500 Subject: [PATCH] forgejo-runners: recreate nix-garden runner --- hosts/tsuru/services/forgejo-runners.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hosts/tsuru/services/forgejo-runners.nix b/hosts/tsuru/services/forgejo-runners.nix index c51454b..136fd80 100644 --- a/hosts/tsuru/services/forgejo-runners.nix +++ b/hosts/tsuru/services/forgejo-runners.nix @@ -3,8 +3,11 @@ config, ... }: { - sops.secrets.snowflake-runner-token = {}; - sops.secrets.basegbot-runner-token = {}; + sops.secrets = { + snowflake-runner-token = {}; + basegbot-runner-token = {}; + nixgarden-runner-token = {}; + }; services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; instances.snowflake = { @@ -53,7 +56,7 @@ gitMinimal ]; }; - instances.nixgarden = { + instances.nix-garden = { settings = { container = { network = "host"; @@ -61,7 +64,7 @@ }; enable = true; name = config.networking.hostName; - token = "ufM3x5MANdcIg9qb7LTJrC7dAi9Kw6DmVXDDX3HL"; + token = config.sops.secrets.nixgarden-runner-token.path; url = "https://git.flake.sh"; labels = [ "debian-latest:docker://node:18-bullseye" @@ -74,8 +77,6 @@ coreutils wget gitMinimal - python3 - python311Packages.pip ]; }; };