kazuki/conduit: sliding windows support
This commit is contained in:
parent
f9c2c5f69e
commit
d4a86827ee
1 changed files with 6 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
formatJson = pkgs.formats.json {};
|
formatJson = pkgs.formats.json {};
|
||||||
|
serverDomain = "matrix.nrab.lol";
|
||||||
in {
|
in {
|
||||||
services.matrix-conduit = {
|
services.matrix-conduit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -35,7 +36,7 @@ in {
|
||||||
|
|
||||||
locations."=/.well-known/matrix/server" = {
|
locations."=/.well-known/matrix/server" = {
|
||||||
alias = formatJson.generate "well-known-matrix-server" {
|
alias = formatJson.generate "well-known-matrix-server" {
|
||||||
"m.server" = "matrix.nrab.lol";
|
"m.server" = serverDomain;
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
|
@ -46,7 +47,10 @@ in {
|
||||||
locations."=/.well-known/matrix/client" = {
|
locations."=/.well-known/matrix/client" = {
|
||||||
alias = formatJson.generate "well-known-matrix-client" {
|
alias = formatJson.generate "well-known-matrix-client" {
|
||||||
"m.homeserver" = {
|
"m.homeserver" = {
|
||||||
"base_url" = "https://matrix.nrab.lol";
|
"base_url" = "https://${serverDomain}";
|
||||||
|
};
|
||||||
|
"org.matrix.msc3575.proxy" = {
|
||||||
|
"url" = "https://${serverDomain}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue