infra/modules/postgresql/default.nix

18 lines
240 B
Nix

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