about summary refs log tree commit diff
path: root/nixos/modules/services/matrix/mautrix-telegram.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-11-05nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnitSophie Tauchert1-2/+2
2023-09-03nixos/mautrix-telegram: drop removed --base-config flagNick Cao1-1/+0
See also: https://github.com/mautrix/python/commit/9b67b17ac4927f63cc9a71dc450b9296c849b3ab
2023-07-02mautrix-telegram: 0.14.0 -> 0.14.1Frédéric Tobias Christ1-0/+3
Add new configuration option regarding IPv6 support to the example. Diff: https://github.com/mautrix/telegram/compare/refs/tags/v0.14.0...v0.14.1 Changelog: https://github.com/mautrix/telegram/releases/tag/v0.14.1
2023-02-18nixos/mautrix-telegram: add ffmpeg-full to pathNick Cao1-1/+1
Used for converting tgs to webm and webp format, as well as generating video thumbnails. Using ffmpeg-full for webp support.
2022-12-17nixos: fix typosfigsoda1-2/+2
2022-11-21nixos/mautrix-telegram: document JSON env var configpacien1-0/+5
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
2022-11-21Revert "nixos/mautrix-telegram: substitute secrets in config file at runtime ↵pacien1-14/+2
(#112966)" This is no longer necessary since mautrix-telegram v0.12.1, which supports JSON-formatted environment variable and therefore maps natively. See: https://github.com/mautrix/telegram/issues/584#issuecomment-1250027272 See: https://github.com/mautrix/telegram/releases/tag/v0.12.1 This partially reverts commit 24133ead28dc4ece7ba016bc8f7624db0478e977.
2022-11-21nixos/mautrix-telegram: add documentation for setting arbitrary secretsCRTified1-1/+7
The change that allows setting the secrets by an environment file had the undocumented side effect of allowing to set any key by the environment file (Related PR: https://github.com/tulir/mautrix-telegram/pull/332). This is required to e.g. set `bridge.login_shared_secret`, which was not documented before. GitHub: closes #103347
2022-11-10nixos/mautrix-telegram: fix crash on postgresql database usageGauvain 'GovanifY' Roussel-Tarbouriech1-0/+12
2022-10-30nixos/mautrix-telegram: fix link to example configWinter1-1/+1
2022-10-30nixos/mautrix-telegram: add new required config optionWinter1-0/+4
2022-10-28treewide: convert fake octal ints to stringsYorick van Pelt1-1/+1
These were being cast to strings later and then reinterpreted as octal.
2022-08-31nixos/*: automatically convert option descriptionspennae1-1/+1
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-08-03nixos/*: automatically convert option docs to MDpennae1-4/+4
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
2022-08-03nixos/*: normalize link formatpennae1-2/+1
make (almost) all links appear on only a single line, with no unnecessary whitespace, using double quotes for attributes. this lets us automatically convert them to markdown easily. the few remaining links are extremely long link in a gnome module, we'll come back to those at a later date.
2022-08-03nixos/*: replace </para><para> with double linebreakspennae1-2/+0
our xslt already replaces double line breaks with a paragraph close and reopen. not using explicit para tags lets nix-doc-munge convert more descriptions losslessly. only whitespace changes to generated documents, except for two strongswan options gaining paragraph two breaks they arguably should've had anyway.
2022-07-30treewide: automatically md-convert option descriptionspennae1-7/+7
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-07-23nixos/mautrix-telegram: add lottieconverter to pathNick Cao1-0/+1
2022-06-06nixos: move matrix services into their categoryNguyễn Gia Phong1-0/+181