mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
remove matrix-sliding-sync
This commit is contained in:
parent
3a836ed4a7
commit
86cd05062e
2 changed files with 0 additions and 29 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue