From 5c274e6214c321a8ba90d473e3500989d6e84ed1 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 6 Jan 2025 10:26:17 +0530 Subject: kay/postgresql: init --- os/kay/modules/matrix/dendrite.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'os/kay/modules/matrix/dendrite.nix') diff --git a/os/kay/modules/matrix/dendrite.nix b/os/kay/modules/matrix/dendrite.nix index 71266a5..2cf7d11 100644 --- a/os/kay/modules/matrix/dendrite.nix +++ b/os/kay/modules/matrix/dendrite.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, ... }: let domain = config.global.userdata.domain; @@ -14,18 +14,11 @@ in services = { postgresql = { - enable = true; - package = with pkgs; postgresql_15; - settings = { - log_timezone = config.time.timeZone; - listen_addresses = lib.mkForce ""; - }; ensureDatabases = [ "dendrite" ]; ensureUsers = [{ name = "dendrite"; ensureDBOwnership = true; }]; - authentication = lib.mkForce "local all all trust"; }; dendrite = { -- cgit v1.2.3