From 344530e8109da28d7a997ba12666752e6ceea50e Mon Sep 17 00:00:00 2001 From: System administrator Date: Thu, 8 Sep 2022 17:42:54 +0200 Subject: [PATCH] Update option names --- services/matrix/synapse.nix | 2 +- services/nginx/default.nix | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/services/matrix/synapse.nix b/services/matrix/synapse.nix index 9c3879e..3274b01 100644 --- a/services/matrix/synapse.nix +++ b/services/matrix/synapse.nix @@ -204,7 +204,7 @@ in }; }; - services.redis.enable = true; + services.redis.servers.matrix.enable = true; services.nginx.virtualHosts."matrix.pvv.ntnu.no" = { enableACME = true; diff --git a/services/nginx/default.nix b/services/nginx/default.nix index fb704f8..b7d4d08 100644 --- a/services/nginx/default.nix +++ b/services/nginx/default.nix @@ -2,8 +2,10 @@ { - security.acme.acceptTerms = true; - security.acme.email = "danio@pvv.ntnu.no"; + security.acme = { + acceptTerms = true; + defaults.email = "danio@pvv.ntnu.no"; + }; services.nginx = { enable = true;