From 0d6aaaa943fcaca5a2dd6f8521fe8ee004859506 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 16 Jan 2024 01:52:46 -0500 Subject: [PATCH] tsuru: update secret pathing --- hosts/tsuru/services/forgejo-runners.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/hosts/tsuru/services/forgejo-runners.nix b/hosts/tsuru/services/forgejo-runners.nix index 136fd80..a4188d1 100644 --- a/hosts/tsuru/services/forgejo-runners.nix +++ b/hosts/tsuru/services/forgejo-runners.nix @@ -4,9 +4,15 @@ ... }: { sops.secrets = { - snowflake-runner-token = {}; - basegbot-runner-token = {}; - nixgarden-runner-token = {}; + snowflake-runner-token = { + sopsFile = ../../../secrets/runners/secrets.yaml; + }; + basegbot-runner-token = { + sopsFile = ../../../secrets/runners/secrets.yaml; + }; + notohh-dev-runner-token = { + sopsFile = ../../../secrets/runners/secrets.yaml; + }; }; services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; @@ -56,7 +62,7 @@ gitMinimal ]; }; - instances.nix-garden = { + instances.notohh-dev = { settings = { container = { network = "host"; @@ -64,7 +70,7 @@ }; enable = true; name = config.networking.hostName; - token = config.sops.secrets.nixgarden-runner-token.path; + token = config.sops.secrets.notohh-dev-runner-token.path; url = "https://git.flake.sh"; labels = [ "debian-latest:docker://node:18-bullseye"