From 522c8a27dbde0d337c40aa05597c43df05f5ff8f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 24 Feb 2022 20:59:41 +0100 Subject: surtr: synapse.li: ... --- hosts/surtr/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'hosts/surtr/default.nix') diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix index add50653..7ab3199b 100644 --- a/hosts/surtr/default.nix +++ b/hosts/surtr/default.nix @@ -2,7 +2,7 @@ { imports = with flake.nixosModules.systemProfiles; [ qemu-guest openssh rebuild-machines zfs - ./zfs.nix ./dns ./tls ./http.nix ./bifrost + ./zfs.nix ./dns ./tls ./http.nix ./bifrost ./matrix.nix ./postgres.nix ]; config = { @@ -139,5 +139,15 @@ automatic = true; options = "--delete-older-than 30d"; }; + + security.dhparams = { + enable = true; + defaultBitSize = 4096; + params = { + nginx = {}; + matrix-synapse = {}; + }; + stateful = true; + }; }; } -- cgit v1.2.3