services.traccar.environmentFile

NixOS option

null or absolute path

File containing environment variables to substitute in the configuration before starting Traccar. Can be used for storing the secrets without making them available in the world-readable Nix store. For example, you can set services.traccar.settings.database.password = "$TRACCAR_DB_PASSWORD" and then specify TRACCAR_DB_PASSWORD="<secret>" in the environment file. This value will get substituted in the configuration file.

type: null or absolute path
Default
null
declared in: nixos/modules/services/monitoring/traccar.nixView source on NixOS/nixpkgs →