summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/sliding-sync.nix
blob: bb028bd28e8070dd03a87a12c879fdbce85bc5ee (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";
    };
]