runner: connect with UUID and token instead of registering
All checks were successful
nixos / nixos (push) Successful in 1m8s

The runner's token was regenerated in Forgejo (runner asxpio-services,
same UUID), which also retires the registration-token route the NixOS
module used. Both runners now work the same way: settings from Nix, the
connection (URL, UUID, token from sops) merged in at start, no
registration step. A new token is a sops change and a deploy.

Corrects 0a54caa: `forgejo actions generate-runner-token` returned the
existing registration token, so that commit rotated nothing.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 10:57:02 +04:00
commit b7414c2ad1
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -44,6 +44,8 @@
# This runner would take real jobs of another project
systemd.services.forgejo-runner-interop.wantedBy = lib.mkForce [ ];
# Production's runner UUID: a rehearsal needs a runner of its own
systemd.services.forgejo-runner-asxpio.wantedBy = lib.mkForce [ ];
asxpio.wireguard.peers = [
{