summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/sliding-sync.nix
blob: e35113deba56d3be1a77732740fa0ad5c98cd1f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ config }:
{
  services.matrix-sliding-sync = {
    enable = true;
    settings = {
      "SYNCV3_SERVER" = "http://localhost:8008";
      "SYNCV3_DB" = "postgresql://%2Frun%2Fpostgresql/syncv3";
      "SYNCV3_BINDADDR" = "0.0.0.0:8100";
    };
    environmentFile = "/etc/sliding-sync.env";
  };
}