feat(library): add postgresql service
This commit is contained in:
parent
de21a55aa7
commit
411bd483f5
10
spec/library/postgresql.nix
Normal file
10
spec/library/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