services.spoolman.environment
NixOS option
Environment variables to be passed to the spoolman service. Refer to https://github.com/Donkie/Spoolman/blob/master/.env.example for details on supported variables.
type: attribute setDefault
{ }Example
declared in: nixos/modules/services/misc/spoolman.nixView source on NixOS/nixpkgs →{
SPOOLMAN_AUTOMATIC_BACKUP = "TRUE";
SPOOLMAN_BASE_PATH = "/spoolman";
SPOOLMAN_CORS_ORIGIN = "source1.domain.com:p1, source2.domain.com:p2";
SPOOLMAN_DB_TYPE = "sqlite";
SPOOLMAN_LOGGING_LEVEL = "DEBUG";
SPOOLMAN_METRICS_ENABLED = "TRUE";
}