nixos/mautrix-telegram: document JSON env var config
This was introduced in mautrix-telegram v0.12.1. See: https://github.com/mautrix/telegram/issues/584#issuecomment-1250027272 See: https://github.com/mautrix/telegram/releases/tag/v0.12.1
This commit is contained in:
parent
e14bdbb997
commit
4cdc08f925
1 changed files with 5 additions and 0 deletions
|
@ -109,6 +109,11 @@ in {
|
||||||
and prepending `MAUTRIX_TELEGRAM_`.
|
and prepending `MAUTRIX_TELEGRAM_`.
|
||||||
For example, the first value above maps to
|
For example, the first value above maps to
|
||||||
{option}`settings.appservice.as_token`.
|
{option}`settings.appservice.as_token`.
|
||||||
|
|
||||||
|
The environment variable values can be prefixed with `json::` to have
|
||||||
|
them be parsed as JSON. For example, `login_shared_secret_map` can be
|
||||||
|
set as follows:
|
||||||
|
`MAUTRIX_TELEGRAM_BRIDGE_LOGIN_SHARED_SECRET_MAP=json::{"example.com":"secret"}`.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue