nixos-config/config/services/postgres.nix

8 lines
160 B
Nix
Raw Normal View History

2022-01-15 20:12:12 +00:00
{ lib, ... }: {
2022-01-15 20:42:50 +00:00
services.postgresql = {
2022-01-15 20:12:12 +00:00
enable = true;
enableTCPIP = true;
2022-01-15 20:42:50 +00:00
authentication = "host all all fd0d:a262:1fa6:e621::/64 md5;";
2022-01-15 20:12:12 +00:00
};
}