diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-10-06 09:28:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 09:28:32 +0200 |
commit | 988c9130e1e892de005127f160c3a70514352074 (patch) | |
tree | fc970833f9460bfa45d62cab75d21b30f89ca423 /nixos | |
parent | d010df5cef232665c01c4e2b75c17a0332e64de0 (diff) | |
parent | 7414171dd1b127a961efb18a76296b61831e929e (diff) |
Merge pull request #193767 from winterqt/update-dendrite
dendrite: 0.9.9 -> 0.10.1
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/matrix/dendrite.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/modules/services/matrix/dendrite.nix b/nixos/modules/services/matrix/dendrite.nix index 9279af246f41..a5fea3da4844 100644 --- a/nixos/modules/services/matrix/dendrite.nix +++ b/nixos/modules/services/matrix/dendrite.nix @@ -195,6 +195,25 @@ in ''; }; }; + options.sync_api.search = { + enable = lib.mkEnableOption (lib.mdDoc "Dendrite's full-text search engine"); + index_path = lib.mkOption { + type = lib.types.str; + default = "${workingDir}/searchindex"; + description = lib.mdDoc '' + The path the search index will be created in. + ''; + }; + language = lib.mkOption { + type = lib.types.str; + default = "en"; + description = lib.mdDoc '' + The language most likely to be used on the server - used when indexing, to + ensure the returned results match expectations. A full list of possible languages + can be found at https://github.com/blevesearch/bleve/tree/master/analysis/lang + ''; + }; + }; options.user_api = { account_database = { connection_string = lib.mkOption { |