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