From 891f974404a3abc426025e56f5748fbcc04bb263 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 21 Feb 2026 13:52:06 +0100 Subject: [PATCH] Add database for the Relay --- nix-system-configs/modules/system/teamspeak.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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