2024-10-15 17:46:44 -04:00
|
|
|
{ pkgs, config, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-10-07 11:42:34 -04:00
|
|
|
services.matrix-sliding-sync = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2024-10-24 23:42:09 -04:00
|
|
|
SYNCV3_SERVER = "https://matrix.${config.domains.jim1}";
|
2024-10-07 11:42:34 -04:00
|
|
|
SYNCV3_BINDADDR = "0.0.0.0:8009";
|
|
|
|
};
|
2024-10-15 17:46:44 -04:00
|
|
|
environmentFile = "${pkgs.writeText "matrixsecret" ''
|
|
|
|
SYNCV3_SECRET=${config.secrets.matrixSecret}
|
|
|
|
''}";
|
2024-10-07 11:42:34 -04:00
|
|
|
};
|
|
|
|
}
|