services.papra.environment

NixOS option

Environment variables to set for the service.

type: attribute set of (string or signed integer or floating point number or boolean or absolute path or package)
Default
{
  DATABASE_URL = "file:/var/lib/papra/db.sqlite";
  DOCUMENT_STORAGE_FILESYSTEM_ROOT = "/var/lib/papra/local-documents";
  PORT = 1221;
  SERVER_SERVE_PUBLIC_DIR = true;
}
Example
{
  PORT = 1221;
}
declared in: nixos/modules/services/web-apps/papra.nixView source on NixOS/nixpkgs →