nix-cache02: add native nix forgejo runner instance

Add a second runner instance (actions-native) that executes jobs
directly on the host, giving workflows persistent nix store access
and automatic binary cache population via Harmonia.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 23:15:51 +01:00
parent 02845f2138
commit cf19ade34b
5 changed files with 230 additions and 157 deletions

View File

@@ -145,12 +145,17 @@ locals {
password_length = 64
}
# Forgejo runner token for nix-cache02
# Forgejo runner tokens for nix-cache02
"hosts/nix-cache02/forgejo-runner-token" = {
auto_generate = false
data = { token = var.forgejo_runner_token }
}
"hosts/nix-cache02/forgejo-native-runner-token" = {
auto_generate = false
data = { token = var.forgejo_native_runner_token }
}
# Loki push authentication (used by Promtail on all hosts)
"shared/loki/push-auth" = {
auto_generate = true