defiant/matrix-synapse: Add sliding sync
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
group = "matrix-synapse";
|
||||
};
|
||||
|
||||
sops.secrets."matrix/slidingsyncsecret" = {
|
||||
restartUnits = [ "matrix-synapse.service" ];
|
||||
owner = "matrix-synapse";
|
||||
group = "matrix-synapse";
|
||||
};
|
||||
|
||||
services.matrix-synapse-next = {
|
||||
enable = true;
|
||||
enableNginx = true;
|
||||
@@ -75,6 +81,8 @@
|
||||
tls_certificate_path = "/etc/ssl-snakeoil/matrix_feal_no.crt";
|
||||
tls_private_key_path = "/etc/ssl-snakeoil/matrix_feal_no.key";
|
||||
|
||||
enableSlidingSync = true;
|
||||
|
||||
oidc_providers = [
|
||||
{
|
||||
idp_id = "keycloak";
|
||||
@@ -93,10 +101,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.postgresqlBackup.databases = [ "matrix-synapse" ];
|
||||
services.matrix-synapse.sliding-sync.environmentFile = config.sops.secrets."matrix/slidingsyncsecret".path;
|
||||
|
||||
services.redis.servers."".enable = true;
|
||||
|
||||
services.postgresqlBackup.databases = [ "matrix-synapse" ];
|
||||
|
||||
services.nginx.virtualHosts."matrix.feal.no" = {
|
||||
listen = [
|
||||
{ addr = "192.168.10.175"; port = 43443; ssl = true; }
|
||||
|
||||
Reference in New Issue
Block a user