@ -1,6 +1,10 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../services/matrix-sliding-sync.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
matrix-synapse-tools.synadm
|
||||
];
|
||||
@ -17,7 +21,7 @@
|
||||
LC_CTYPE = "C";
|
||||
'';
|
||||
};
|
||||
postgresqlBackup.databases = [ "matrix" ];
|
||||
postgresqlBackup.databases = [ "matrix" "matrix-syncv3" ];
|
||||
|
||||
matrix-synapse = {
|
||||
enable = true;
|
||||
@ -48,6 +52,8 @@
|
||||
config.sops.secrets.matrix-registration-secret.path
|
||||
];
|
||||
};
|
||||
|
||||
matrix-syncv3.enable = true;
|
||||
};
|
||||
|
||||
sops.secrets.matrix-registration-secret = {
|
||||
|
@ -10,6 +10,12 @@
|
||||
locations."/" = { proxyPass = "http://100.111.208.75:8008"; };
|
||||
};
|
||||
|
||||
"syncv3.walkah.chat" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = { proxyPass = "http://100.111.208.75:8088"; };
|
||||
};
|
||||
|
||||
"walkah.chat" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
@ -25,6 +31,7 @@
|
||||
let
|
||||
client = {
|
||||
"m.homeserver" = { "base_url" = "https://matrix.walkah.chat"; };
|
||||
"org.matrix.msc3575.proxy" = { "url" = "https://syncv3.walkah.chat"; };
|
||||
};
|
||||
in
|
||||
''
|
||||
|
Reference in New Issue
Block a user