MyNixOS website logo
option

services.github-runners.<name>.tokenType

Type of token to use for runner registration.

An access token is a personal access token or any other kind of GitHub token that starts with ghp_, gho_, etc prefix. It is passed as --pat to the runner config script.

A registration token is an unprefixed string generated by the "Add new self-hosted runner" page. It is passed as --token to runner config script.

The default auto attempts to detect the token type automatically based on its format.

Declarations
Type
one of "auto", "access", "registration"
Default
"auto"
Example
"registration"