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