forked from pub-solar/infra
14 lines
220 B
Nix
14 lines
220 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.postgresql = {
|
|
enable = true;
|
|
enableTCPIP = true;
|
|
};
|
|
|
|
systemd.services.postgresql = {
|
|
after = [ "var-lib-postgresql.mount" ];
|
|
requisite = [ "var-lib-postgresql.mount" ];
|
|
};
|
|
}
|