diff --git a/nix/modules/hive-forge.nix b/nix/modules/hive-forge.nix index b4c1535e..da52a894 100644 --- a/nix/modules/hive-forge.nix +++ b/nix/modules/hive-forge.nix @@ -312,6 +312,12 @@ in SIGNING_KEY = "default"; GNUPGHOME = "/var/lib/forgejo/.gnupg"; }; + # Enable Forgejo Actions so the runner registration token + # API endpoint is available. Without this the endpoint + # returns "runner registration token not found" regardless + # of token scopes. Required by `hive-ci-register.service` + # in the hive-ci container. + actions.ENABLED = true; # F3 (federation) computes its data dir relative to the # forgejo binary, which lands in the read-only nix # store and crashes anything that touches the F3