From 2c288d5ea310736a9b6088c7f04e42517b5b12a3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Feb 2022 14:29:49 +0100 Subject: surtr: ma1sd: remove --- hosts/surtr/matrix/default.nix | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'hosts/surtr/matrix/default.nix') diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix index b07f9fe2..53b0bdc4 100644 --- a/hosts/surtr/matrix/default.nix +++ b/hosts/surtr/matrix/default.nix @@ -38,9 +38,6 @@ "/run/credentials/matrix-synapse.service/registration.yaml" "/run/credentials/matrix-synapse.service/turn-secret.yaml" ]; - extraConfig = '' - default_identity_server: https://synapse.li - ''; }; sops.secrets."matrix-synapse-registration.yaml" = { format = "binary"; @@ -243,36 +240,5 @@ owner = "turnserver"; group = "turnserver"; }; - - services.mxisd = { - enable = true; - matrix.domain = "synapse.li"; - server = { - name = "localhost"; - port = 8090; - }; - extraConfig = { - matrix = { - v1 = true; - v2 = true; - }; - hashing = { - enabled = true; - rotationPolicy = "per_requests"; - hashStorageType = "sql"; - algorithms = ["sha256"]; - requests = 10; - }; - server.publicUrl = "https://synapse.li"; - storage = { - backend = "postgresql"; - provider.postgresql = { - database = "//file%3A%2F%2F%2Frun%2Fpostgresql%2F.s.PGSQL.5432/mxisd?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory%24URIScheme"; - }; - }; - forward.servers = ["matrix-org"]; - invite.resolution.recursive = false; - }; - }; }; } -- cgit v1.2.3