infra/modules/postgresql/default.nix
2024-05-08 22:57:07 +02:00

14 lines
220 B
Nix

{ ... }:
{
services.postgresql = {
enable = true;
enableTCPIP = true;
};
systemd.services.postgresql = {
after = [ "var-lib-postgresql.mount" ];
requisite = [ "var-lib-postgresql.mount" ];
};
}