diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2023-04-05 08:36:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 08:36:44 +0100 |
commit | 87083d40c0c50974e4369dbe71364b0edf85cae6 (patch) | |
tree | dcac4f4a57ca6c46e2450ca241843abad6eca7cb /nixos/modules/services/matrix | |
parent | bd9aa95826d5a4f226035a21fd830743e853029a (diff) | |
parent | 2c19718beed29f1b627a3a143653487318d6511c (diff) |
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.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/dendrite.nix b/nixos/modules/services/matrix/dendrite.nix index a8006547fc6b4..244c15fbf7a96 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}" |