diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-01-06 10:26:17 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-01-06 20:54:19 +0530 |
commit | 5c274e6214c321a8ba90d473e3500989d6e84ed1 (patch) | |
tree | 4465855aa6ae6423a0c853fa6896b80e4e18a0a9 /os/kay/modules/matrix/dendrite.nix | |
parent | cf6f1cf7c1d9100da519db1c9977152d6f246ecb (diff) |
kay/postgresql: init
Diffstat (limited to 'os/kay/modules/matrix/dendrite.nix')
-rw-r--r-- | os/kay/modules/matrix/dendrite.nix | 9 |
1 files changed, 1 insertions, 8 deletions
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 = { |