remove matrix-sliding-sync

This commit is contained in:
Rouven Seifert 2024-10-30 11:01:00 +01:00
parent 3a836ed4a7
commit 86cd05062e
2 changed files with 0 additions and 29 deletions

View file

@ -15,9 +15,6 @@ in
file = ../../../../secrets/nuc/matrix/shared.age;
owner = config.systemd.services.matrix-synapse.serviceConfig.User;
};
"matrix/sync" = {
file = ../../../../secrets/nuc/matrix/sync.age;
};
};
nixpkgs.config.permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
@ -59,22 +56,11 @@ in
}];
};
};
matrix-sliding-sync = {
enable = true;
settings = {
SYNCV3_SERVER = "https://${domain}";
SYNCV3_BINDADDR = "/run/matrix-sliding-sync/server.sock";
};
environmentFile = config.age.secrets."matrix/sync".path;
};
caddy = {
virtualHosts = {
# synapse
"${domain}".extraConfig = ''
reverse_proxy /client/* unix//run/matrix-sliding-sync/server.sock
reverse_proxy /_matrix/client/unstable/org.matrix.msc3575/sync* unix//run/matrix-sliding-sync/server.sock
reverse_proxy 127.0.0.1:8008
handle /_synapse/metrics* {
respond 404
@ -104,11 +90,6 @@ in
RuntimeDirectory = "matrix-synapse";
};
};
systemd.services.matrix-sliding-sync = {
serviceConfig = {
RuntimeDirectory = "matrix-sliding-sync";
};
};
systemd.services.matrix-synapse-pgsetup = {
description = "Prepare Synapse postgres database";