feat(incinerator): add postgresql service

This commit is contained in:
514fpv 2024-01-05 08:44:41 +08:00
parent 81e6633526
commit d1b3120349
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View 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;
};
}