Sliding sync and metrics

This commit is contained in:
2023-11-17 23:17:37 +00:00
parent fc6a934277
commit 0dcb90d8b3
6 changed files with 100 additions and 48 deletions

View File

@@ -6,6 +6,9 @@
}: let
fqdn = "matrix.broccoli.town";
in {
age.secrets = {
sliding_sync_env_file.file = ../../secrets/sliding_sync_env_file.age;
};
services.postgresql = {
enable = true;
ensureUsers = [
@@ -26,6 +29,13 @@ in {
services.matrix-synapse = {
enable = true;
sliding-sync = {
enable = true;
environmentFile = config.age.secrets.sliding_sync_env_file.path;
settings = {
SYNCV3_SERVER = "http://localhost:8008";
};
};
settings = {
enable_metrics = true;
server_name = "broccoli.town";