services.zerobyte.settings

NixOS option

Zerobyte configuration passed as environment variables. See https://github.com/nicotsx/zerobyte#configuration for the available settings. BASE_URL is required. It is highly discouraged to expose Zerobyte directly to the internet; bind HOST to localhost and use a secure tunnel or an authenticating reverse proxy instead. Do not put secrets here; use services.zerobyte.environmentFile instead.

type: open submodule of attribute set of (boolean or signed integer or string)
Default
{ }
Example
{
  BASE_URL = "https://zerobyte.example.com";
  GOMAXPROCS = 2;
  LOG_LEVEL = "debug";
  TRUST_PROXY = true;
}
declared in: nixos/modules/services/web-apps/zerobyte.nixView source on NixOS/nixpkgs →