From d1b3120349997076f6a6727986ba5a7130d067b4 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Fri, 5 Jan 2024 08:44:41 +0800 Subject: [PATCH] feat(incinerator): add postgresql service --- spec/incinerator/postgresql.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 spec/incinerator/postgresql.nix diff --git a/spec/incinerator/postgresql.nix b/spec/incinerator/postgresql.nix new file mode 100644 index 00000000..dc082ee9 --- /dev/null +++ b/spec/incinerator/postgresql.nix @@ -0,0 +1,10 @@ +{ pkgs +, config +, ...}: { + services.postgresql = { + enable = true; + dataDir = "/nix/persist/service/postgresql/${config.services.postgresql.package.psqlSchema}"; + + package = pkgs.postgresql_15; + }; +}