mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
852 B
852 B
Configuration
While RustiCal (apart from user management) will work without any configuration you should still know how to configure it. :)
You can either mount a config.toml file or use environment variables (recommended).
To see the options you can generate a default configuration using
rustical gen-config
To see all configuration options available you can browse the Cargo docs.
Environment variables
The options in config.toml can also be configured using environment variables.
Names translate the following:
[data_store.toml]
path = "asd"
becomes RUSTICAL_DATA_STORE__TOML__PATH.
Every variable is
- uppercase
- prefixed by
RUSTICAL_ - Dots become
__ - Arrays are JSON-encoded