Config File Locations
The following locations are used in ascending order of importance. All files are read, and values in later files override values in earlier ones:
/usr/share/crestic/config.cfg
/usr/share/crestic/conf.d/*.cfg
/etc/crestic/config.cfg
/etc/crestic/conf.d/*.cfg
~/.config/crestic/config.cfg
~/.config/crestic/conf.d/*.cfg
- environment variable
$CRESTIC_CONFIG_PATHS
, a colon separated list of files
The environment variable $CRESTIC_CONFIG_FILE
can be used to override the joint loading behaviour. After setting this variable, no other files will be read.