feat(incinerator): add postgresql service
This commit is contained in:
parent
81e6633526
commit
d1b3120349
10
spec/incinerator/postgresql.nix
Normal file
10
spec/incinerator/postgresql.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs
|
||||
, config
|
||||
, ...}: {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
dataDir = "/nix/persist/service/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
|
||||
package = pkgs.postgresql_15;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue