services.spoolman.environment
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 set- Default
{ }- Example
{ 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"; }- Declared
- <nixpkgs/nixos/modules/services/misc/spoolman.nix>