commit 3e89d7d6293d541378d02fe766a92d6f39b682e1 parent cf8cf6a296f2e949cdd7245dae42b9340932b39d Author: MTRNord <mtrnord1@gmail.com> Date: Mon, 4 Sep 2023 20:31:50 +0200 Fix pgadmin Diffstat:
| M | nixos/common/lib/pgadmin.nix | | | 15 | +-------------- |
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/nixos/common/lib/pgadmin.nix b/nixos/common/lib/pgadmin.nix @@ -1,20 +1,7 @@ { lib, pkgs, config, ... }: { services = { - postgresql = { - enableJIT = true; - enable = false; - enableTCPIP = true; - settings = { - listen_addresses = "100.64.0.1"; - }; - authentication = '' - host all all 100.64.0.0/10 md5 - host replication all 100.64.0.0/10 md5 - host all all 10.100.12.1/32 md5 - host replication all 10.100.12.1/32 md5 - ''; - }; + postgresql.package = pkgs.postgresql_14; pgadmin = { enable = true; settings = {