Overview
snapr is configured by a single YAML file.
File location
Resolution order:
-config <path>CLI flagSNAPR_CONFIG_FILEenvironment variable./snapr.yaml~/.config/snapr/snapr.yaml~/snapr.yaml/etc/snapr/snapr.yaml
The first match wins.
Top-level shape
Environment references
Any string value may use the prefix env: to read its value from an environment variable at load time. Use this to keep secrets out of the YAML file.
If the referenced variable is not set, snapr fails to start.
Applying changes
Config is loaded once at startup. To apply edits, restart snapr. The previous configuration stays active until the new process loads successfully — a malformed file fails the restart with the error logged.