dendrite: 0.11.0 -> 0.12.0

Diff: https://github.com/matrix-org/dendrite/compare/v0.12.0...v0.12.0

Changelog: https://github.com/matrix-org/dendrite/releases/tag/v0.12.0

Changed files
+15 -9
nixos
modules
services
matrix
pkgs
servers
dendrite
+10 -1
nixos/modules/services/matrix/dendrite.nix
···
'';
};
};
options.media_api = {
database = {
connection_string = lib.mkOption {
···
-o /run/dendrite/dendrite.yaml
''];
ExecStart = lib.strings.concatStringsSep " " ([
-
"${pkgs.dendrite}/bin/dendrite-monolith-server"
"--config /run/dendrite/dendrite.yaml"
] ++ lib.optionals (cfg.httpPort != null) [
"--http-bind-address :${builtins.toString cfg.httpPort}"
···
'';
};
};
+
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 {
···
-o /run/dendrite/dendrite.yaml
''];
ExecStart = lib.strings.concatStringsSep " " ([
+
"${pkgs.dendrite}/bin/dendrite"
"--config /run/dendrite/dendrite.yaml"
] ++ lib.optionals (cfg.httpPort != null) [
"--http-bind-address :${builtins.toString cfg.httpPort}"
+5 -8
pkgs/servers/dendrite/default.nix
···
buildGoModule rec {
pname = "matrix-dendrite";
-
version = "0.11.1";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "dendrite";
rev = "v${version}";
-
hash = "sha256-+REY5an0gTbADEozCI6bkUWbW9VWTtWZ4xXj9qcIkwc=";
};
-
vendorHash = "sha256-/O7zzXYM03K+MresuXIHtgMuD9yS2+NIaLEnm/WRYeA=";
subPackages = [
-
# The server as a monolith: https://matrix-org.github.io/dendrite/installation/install/monolith
-
"cmd/dendrite-monolith-server"
-
# The server as a polylith: https://matrix-org.github.io/dendrite/installation/install/polylith
-
"cmd/dendrite-polylith-multi"
# admin tools
"cmd/create-account"
"cmd/generate-config"
···
## tech demos
# "cmd/dendrite-demo-pinecone"
# "cmd/dendrite-demo-yggdrasil"
-
# "cmd/dendritejs-pinecone"
];
nativeCheckInputs = [
···
buildGoModule rec {
pname = "matrix-dendrite";
+
version = "0.12.0";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "dendrite";
rev = "v${version}";
+
hash = "sha256-syOLrw4ig8rmFDkxJ9KSAuzUVO8UokekV17mT1bJNNM=";
};
+
vendorHash = "sha256-nvGhKCUiyHSD0VpE4OtT9YQSHxv0d7iwOChCJl2D3zk=";
subPackages = [
+
# The server
+
"cmd/dendrite"
# admin tools
"cmd/create-account"
"cmd/generate-config"
···
## tech demos
# "cmd/dendrite-demo-pinecone"
# "cmd/dendrite-demo-yggdrasil"
];
nativeCheckInputs = [