about summary refs log tree commit diff
path: root/nixos/modules/services/matrix
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2023-04-05 08:36:44 +0100
committerGitHub <noreply@github.com>2023-04-05 08:36:44 +0100
commit87083d40c0c50974e4369dbe71364b0edf85cae6 (patch)
treedcac4f4a57ca6c46e2450ca241843abad6eca7cb /nixos/modules/services/matrix
parentbd9aa95826d5a4f226035a21fd830743e853029a (diff)
parent2c19718beed29f1b627a3a143653487318d6511c (diff)
downloadnixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.tar
nixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.tar.gz
nixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.tar.bz2
nixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.tar.lz
nixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.tar.xz
nixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.tar.zst
nixlib-87083d40c0c50974e4369dbe71364b0edf85cae6.zip
Merge pull request #221856 from Mic92/dendrite
dendrite: 0.11.0 -> 0.12.0
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r--nixos/modules/services/matrix/dendrite.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/dendrite.nix b/nixos/modules/services/matrix/dendrite.nix
index a8006547fc6b..244c15fbf7a9 100644
--- a/nixos/modules/services/matrix/dendrite.nix
+++ b/nixos/modules/services/matrix/dendrite.nix
@@ -159,6 +159,15 @@ in
             '';
           };
         };
+        options.relay_api.database = {
+          connection_string = lib.mkOption {
+            type = lib.types.str;
+            default = "file:relayapi.db";
+            description = lib.mdDoc ''
+              Database for the Relay Server.
+            '';
+          };
+        };
         options.media_api = {
           database = {
             connection_string = lib.mkOption {
@@ -294,7 +303,7 @@ in
             -o /run/dendrite/dendrite.yaml
         ''];
         ExecStart = lib.strings.concatStringsSep " " ([
-          "${pkgs.dendrite}/bin/dendrite-monolith-server"
+          "${pkgs.dendrite}/bin/dendrite"
           "--config /run/dendrite/dendrite.yaml"
         ] ++ lib.optionals (cfg.httpPort != null) [
           "--http-bind-address :${builtins.toString cfg.httpPort}"