diff options
Diffstat (limited to 'host/Rory-nginx/services/matrix/sliding-sync.nix')
-rw-r--r-- | host/Rory-nginx/services/matrix/sliding-sync.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/matrix/sliding-sync.nix b/host/Rory-nginx/services/matrix/sliding-sync.nix new file mode 100644 index 0000000..bb028bd --- /dev/null +++ b/host/Rory-nginx/services/matrix/sliding-sync.nix @@ -0,0 +1,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"; + }; +] \ No newline at end of file |