Configuration Files
tx loads configuration in this order:
$TX_CONFIG_DIR/config.toml(or$XDG_CONFIG_HOME/tx/config.tomlwhen the environment variable is unset).- All files under
$TX_CONFIG_DIR/conf.d/sorted lexicographically. - Command-line overrides such as
--config-dirrewrite the base path and restart the process above.
Each file is optional; tx tolerates partial definitions. The loader merges tables rather than replacing the entire structure, so you can keep shared defaults in config.toml and apply local overrides in numbered drop-ins.
Use small files with predictable numbers: 00-providers.toml for core provider declarations, 10-profiles.toml for team workflows, 20-local.toml for personal overrides. This keeps diffs targeted and makes it easy to sync only the pieces collaborators need.