diff options
author | pacien <pacien.trangirard@pacien.net> | 2022-11-16 23:17:30 +0100 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-11-21 08:46:52 -0500 |
commit | 4cdc08f9252c8323fdaecf047bf11cd79b835935 (patch) | |
tree | ac4c9051a0bb49688e3b6849ab3b41ba4d61c214 /nixos/modules/services/matrix/mautrix-telegram.nix | |
parent | e14bdbb997707333de2114c56ab0fe764dbe9ca7 (diff) |
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
Diffstat (limited to 'nixos/modules/services/matrix/mautrix-telegram.nix')
-rw-r--r-- | nixos/modules/services/matrix/mautrix-telegram.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/matrix/mautrix-telegram.nix b/nixos/modules/services/matrix/mautrix-telegram.nix index 544e9d10c3615..2d9c2dc76c29b 100644 --- a/nixos/modules/services/matrix/mautrix-telegram.nix +++ b/nixos/modules/services/matrix/mautrix-telegram.nix @@ -109,6 +109,11 @@ in { and prepending `MAUTRIX_TELEGRAM_`. For example, the first value above maps to {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"}`. ''; }; |