services.traccar.environmentFile
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
- <nixpkgs/nixos/modules/services/monitoring/traccar.nix>