11 lines
211 B
Nix
11 lines
211 B
Nix
|
{ pkgs
|
||
|
, config
|
||
|
, ...}: {
|
||
|
services.postgresql = {
|
||
|
enable = true;
|
||
|
dataDir = "/nix/persist/service/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||
|
|
||
|
package = pkgs.postgresql_15;
|
||
|
};
|
||
|
}
|