services.gradient.environmentVariables

NixOS option

lazy attribute set of (null or boolean or signed integer or string or absolute path)

Environment variables of the Gradient server. The configuration reference lists every variable and its default. Set a variable to null to unset it. Secrets belong into services.gradient.secrets.

type: lazy attribute set of (null or boolean or signed integer or string or absolute path)
Default
{ }
Example
{
  GRADIENT_GC_INTERVAL_SECS = 600;
  GRADIENT_OIDC_CLIENT_ID = "gradient";
  GRADIENT_OIDC_DISCOVERY_URL = "https://id.example.com/.well-known/openid-configuration";
  GRADIENT_OIDC_ENABLE = true;
}
declared in: nixos/modules/services/continuous-integration/gradient/default.nixView source on NixOS/nixpkgs →