diff --git a/nix-system-configs/modules/system/teamspeak.nix b/nix-system-configs/modules/system/teamspeak.nix index 205b0b8..c7b8175 100644 --- a/nix-system-configs/modules/system/teamspeak.nix +++ b/nix-system-configs/modules/system/teamspeak.nix @@ -102,6 +102,15 @@ in { # 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 = [ 80