MyNixOS website logo
option

services.paperless.environmentFile

Path to a file containing extra paperless config options in the systemd EnvironmentFile format. Refer to the documentation for config options.

This can be used to pass secrets to paperless without putting them in the Nix store.

To set a database password, point environmentFile at a file containing:

PAPERLESS_DBPASS=<pass>
Declarations
Type
null or path
Default
null
Example
"/run/secrets/paperless"