forked from pub-solar/infra
18 lines
240 B
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"
|
|
];
|
|
};
|
|
}
|