Add database for the Relay

This commit is contained in:
Root User 2026-02-21 13:52:06 +01:00
parent 8c22e153bd
commit 891f974404
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -102,6 +102,15 @@ in {
# turn_secret = "your secret"; # turn_secret = "your secret";
}; };
}; };
# PostgreSQL for the Relay
config.services.postgresql = {
enable = true;
ensureDatabases = ["discord-mautrix"];
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
80 80