devos/profiles/postgres/default.nix
2020-07-30 22:17:28 -06:00

7 lines
134 B
Nix

{ pkgs, ... }: {
services.postgresql = {
enable = true;
dataDir = "/srv/postgres";
package = pkgs.postgresql_12;
};
}