diff --git a/machines/kat-mail-test/default.nix b/machines/kat-mail-test/default.nix index daa9930..969a286 100644 --- a/machines/kat-mail-test/default.nix +++ b/machines/kat-mail-test/default.nix @@ -89,6 +89,10 @@ in virtualHosts."betamail.katvayor.net" = { enableACME = true; addSSL = true; + locations."/" = { + recommendedProxySettings = true; + proxyPass = "http://localhost:8000/"; + }; }; }; diff --git a/machines/kat-mail-test/modo.nix b/machines/kat-mail-test/modo.nix index b1da670..a4fabbc 100644 --- a/machines/kat-mail-test/modo.nix +++ b/machines/kat-mail-test/modo.nix @@ -52,4 +52,19 @@ ]; } ]; + services.postgresql = { + enable = true; + ensureUsers = [ + { + name = "moderators"; + ensureClauses.superuser = true; + } + ]; + ensureDatabases = [ + "moderation" + ]; + identMap = '' + map-moderators moderators moderators + ''; + }; }