From 1c627cf0aa1d829ab665c12809e52524a4f77321 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Tue, 27 Dec 2022 21:03:21 +0100 Subject: [PATCH] services: remove synapse acme and enable it --- modules/services/server/default.nix | 2 +- modules/services/server/matrix.nix | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/services/server/default.nix b/modules/services/server/default.nix index 8c6080e..bfbef47 100644 --- a/modules/services/server/default.nix +++ b/modules/services/server/default.nix @@ -14,7 +14,7 @@ ./postgresql.nix #./gitea.nix #./nextcloud.nix - #./matrix.nix + ./matrix.nix ./coturn.nix ./jitsi.nix ] diff --git a/modules/services/server/matrix.nix b/modules/services/server/matrix.nix index 1e756e8..939e5d4 100644 --- a/modules/services/server/matrix.nix +++ b/modules/services/server/matrix.nix @@ -66,12 +66,6 @@ in { }; }; - security.acme.certs.${config.services.matrix-synapse.server_name} = { - /* insert here the right configuration to obtain a certificate */ - postRun = "systemctl restart synapse.service"; - group = "synapse"; - }; - age.secrets."services/matrix/synapse.yml" = { file = ../../../secrets/services/matrix/synapse.age; owner = "synapse";