services.traccar.environment

NixOS option

Extra environment variables to pass to Traccar. Secrets should be passed using the services.traccar.environmentFile option instead. See the documentation for more information.

type: attribute set of string
Default
{ }
Example
{
  CONFIG_USE_ENVIRONMENT_VARIABLES = "true";
  DATABASE_URL = "jdbc:postgresql://localhost/traccar?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/run/postgresql/.s.PGSQL.5432";
}
declared in: nixos/modules/services/monitoring/traccar.nixView source on NixOS/nixpkgs →