Files
rustical/docs/installation/configuration.md
2025-06-26 12:39:23 +02:00

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