diff --git a/hosts/bomberman/system/default.nix b/hosts/bomberman/system/default.nix index 341dd8b..47480b2 100644 --- a/hosts/bomberman/system/default.nix +++ b/hosts/bomberman/system/default.nix @@ -14,6 +14,7 @@ ../../../modules/system/programs/git ../../../modules/system/programs/security ../../../modules/system/services/common + ../../../modules/system/services/server/acme ../../../modules/system/services/server/mailserver/simplenix # Misc diff --git a/modules/system/services/server/acme/default.nix b/modules/system/services/server/acme/default.nix index f6ad5b8..ab2c23c 100644 --- a/modules/system/services/server/acme/default.nix +++ b/modules/system/services/server/acme/default.nix @@ -3,11 +3,5 @@ security.acme = { acceptTerms = true; defaults.email = "jimjam4real@gmail.com"; - certs = { - "turn.${config.secrets.jimDomain}" = { - group = "turnserver"; - postRun = "systemctl restart coturn.service"; - }; - }; }; } diff --git a/modules/system/services/server/mailserver/simplenix/default.nix b/modules/system/services/server/mailserver/simplenix/default.nix index b9e5d60..4e2c14a 100644 --- a/modules/system/services/server/mailserver/simplenix/default.nix +++ b/modules/system/services/server/mailserver/simplenix/default.nix @@ -14,7 +14,6 @@ localDnsResolver = false; redis.port = 1515; - # Dmarc info dmarcReporting = { enable = true; domain = "${config.secrets.jimDomain}"; diff --git a/modules/system/services/server/social/matrix/synapse/coturn/nginx/default.nix b/modules/system/services/server/social/matrix/synapse/coturn/nginx/default.nix index 2403f63..2b9cdac 100644 --- a/modules/system/services/server/social/matrix/synapse/coturn/nginx/default.nix +++ b/modules/system/services/server/social/matrix/synapse/coturn/nginx/default.nix @@ -10,4 +10,11 @@ }]; locations."/".proxyPass = "http://127.0.0.1:1380"; }; + + security.acme.certs = { + "turn.${config.secrets.jimDomain}" = { + group = "turnserver"; + postRun = "systemctl restart coturn.service"; + }; + }; }