Files
nixos/modules/server
oqyude 7a3a2d1356 fix(sops, gitea-runner): decode token as dotenv, not yaml
Nixpkgs's services.gitea-actions-runner.module uses EnvironmentFile=
instance.tokenFile; systemd reads KEY=VALUE lines, not YAML. The previous
key="registration_token" with format="yaml" produced /var/lib/gitea-runner/
registration-token as YAML, which systemd silently failed to parse — the
runner process received an empty $TOKEN and Gitea replied with
"runner registration token not found".

Switch to format="dotenv" and drop the key= parameter (dotenv has no key
concept, the file is one TOKEN=... line). The companion secret file is
renamed accordingly:

  secrets/gitea-runner-registration.yaml  →  secrets/gitea-runner-registration.env

Verified at 2026-10-14 17:36 MSK on sapphira with token in place — register
+ declare succeed, runner shows up green in Gitea admin UI.
2026-10-14 17:48:35 +03:00
..
2026-10-09 16:37:03 +03:00
2026-08-09 23:51:49 +03:00
2026-10-09 19:26:31 +03:00
2026-07-06 01:56:06 +03:00
2026-10-09 16:59:45 +03:00
2026-06-29 23:03:17 +03:00
2026-10-08 15:30:05 +03:00
2026-09-22 18:31:00 +03:00
2026-08-10 03:36:19 +03:00
2026-10-13 16:16:20 +03:00
2026-10-14 12:18:39 +03:00
2026-07-06 01:56:06 +03:00
2026-09-23 23:17:39 +03:00
2026-08-09 01:11:23 +03:00
2026-06-14 01:59:39 +03:00
2026-10-09 16:59:45 +03:00
2026-10-09 16:59:45 +03:00