Sliding sync and metrics
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user