MyNixOS website logo
option

services.zerobyte.settings

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 instead.

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