Signal drop!
Relay (operand.online) is unreachable.
Usually, a dropped signal means an upgrade is happening. Hold on!
Sorry, no connección.
Hang in there while we get back on track
gram: pool
> ./module/psql.nix
Lenses
(coming soon!)
{ pkgs, ...}:
{
networking.firewall.allowedTCPPorts = [ 5432 ];
services.postgresql = {
enable = true; enableTCPIP = true; settings.port = 5432;
# package = pkgs.postgresql_16;
# extensions = with pkgs.postgresql15Packages; [ pgvector postgis ];
settings.password_encryption = "scram-sha-256";
authentication = pkgs.lib.mkOverride 5 ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
# host all postgres 0.0.0.0/0 scram-sha-256
# host all read 0.0.0.0/0 scram-sha-256
};
}