nixos: services: matrix: fix deprecated option

This commit is contained in:
Bruno BELANYI 2024-01-03 23:37:27 +01:00
parent 10a3055136
commit 136bd342ff

View file

@ -104,8 +104,9 @@ in
extraConfigFiles = [
cfg.mailConfigFile
] ++ lib.optional (cfg.secretFile != null) cfg.secretFile;
};
sliding-sync = {
services.matrix-sliding-sync = {
enable = true;
settings = {
@ -115,7 +116,6 @@ in
environmentFile = cfg.slidingSync.secretFile;
};
};
my.services.nginx.virtualHosts = {
# Element Web app deployment
@ -181,7 +181,7 @@ in
# Sliding sync
"~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync)" = {
proxyPass = "http://${config.services.matrix-synapse.sliding-sync.settings.SYNCV3_BINDADDR}";
proxyPass = "http://${config.services.matrix-sliding-sync.settings.SYNCV3_BINDADDR}";
};
};