services.traccar.settings
config.xml configuration as a Nix attribute set.
This option is ignored if settingsFile is set.
Nested attributes get translated to a properties entry in the traccar configuration.
For instance: mail.smtp.port = "25" results in the following entry:
<entry key='mail.smtp.port'>25</entry>
Secrets should be specified using environmentFile
instead of this world-readable attribute set.
Traccar - Configuration File.
- Type
unspecified value- Default
{ database = { driver = "org.h2.Driver"; password = ""; url = "jdbc:h2:/var/lib/traccar/traccar"; user = "sa"; }; logger = { console = "true"; }; web = { override = "/var/lib/traccar/override"; }; }- Declared
- <nixpkgs/nixos/modules/services/monitoring/traccar.nix>