From a6d0ff99de4e9796c920d5d92cfe04090bb8b506 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Feb 2022 14:13:52 +0100 Subject: surtr: ma1sd: ... --- hosts/surtr/matrix/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index 5b5b0112..b5bb002e 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -253,7 +253,13 @@ v1 = false; v2 = true; }; - hashing.enabled = true; + hashing = { + enabled = true; + rotationPolicy = "per_requests"; + hashStorageType = "sql"; + algorithms = ["sha256"]; + requests = 10; + }; server.publicUrl = "https://synapse.li"; storage = { backend = "postgresql"; -- cgit v1.2.3