services.gradient.worker.peersFile

NixOS option

null or absolute path

File of peer tokens for challenge-response authentication with the server, with peer_id:token per line and # starting a comment. <uuid>:<token> *:<token> Use peer ID * to match any UUID in the server’s challenge. Tokens are 48 byte random secrets, for example from openssl rand -base64 48. Register them via the API through POST /api/v1/projects/{project}/workers. Set it to null for open mode without authentication; avoid that in a production setup.

type: null or absolute path
Default
null
declared in: nixos/modules/services/continuous-integration/gradient/worker.nixView source on NixOS/nixpkgs →