MyNixOS website logo
option

services.gradient.environmentVariables

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.

Declarations
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;
}