Remove matrix sliding sync options as it is now part of matrix-synapse
This commit is contained in:
parent
1e34729881
commit
eede43b905
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -55,12 +55,4 @@
|
||||||
"/secrets/matrix-keycloak-client-secret.secret"
|
"/secrets/matrix-keycloak-client-secret.secret"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.matrix-sliding-sync = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
SYNCV3_SERVER = config.services.matrix-synapse.settings.public_baseurl;
|
|
||||||
};
|
|
||||||
environmentFile = "/secrets/matrix-SYNCV3_SECRET.secret";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,14 +33,6 @@
|
||||||
permissions = "0640";
|
permissions = "0640";
|
||||||
uploadAt = "pre-activation";
|
uploadAt = "pre-activation";
|
||||||
};
|
};
|
||||||
"matrix-SYNCV3_SECRET.secret" = {
|
|
||||||
keyCommand = keyCommandEnv ++ [ "pass" "matrix/SYNCV3_SECRET" ];
|
|
||||||
destDir = "/secrets";
|
|
||||||
user = "matrix-synapse";
|
|
||||||
group = "matrix-synapse";
|
|
||||||
permissions = "0640";
|
|
||||||
uploadAt = "pre-activation";
|
|
||||||
};
|
|
||||||
"matrix-keycloak-client-secret.secret" = {
|
"matrix-keycloak-client-secret.secret" = {
|
||||||
keyCommand = keyCommandEnv ++ [ "pass" "matrix/keycloak-client-secret" ];
|
keyCommand = keyCommandEnv ++ [ "pass" "matrix/keycloak-client-secret" ];
|
||||||
destDir = "/secrets";
|
destDir = "/secrets";
|
||||||
|
|
Loading…
Reference in a new issue