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: build
> ./nixos/module/psql.nix
Lenses
(coming soon!)
{ pkgs, ...}:
{
networking.firewall.allowedTCPPorts = [ 5432 ];
services.postgresql = {
enable = true; enableTCPIP = true; settings.port = 5432;
settings.password_encryption = "scram-sha-256";
# ensureUsers = [
# { name = "calliope"; } # ensureDBOwnership = true; }
# { name = "immich"; } # ensureDBOwnership = true; }
# ];
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
'';
};
}