dotfiles/config/instances/config/postgresql.nix
2025-01-08 19:06:14 -06:00

22 lines
371 B
Nix
Executable file

{instancesFunctions}: let
inherit
(instancesFunctions)
servicePath
sopsPath
;
postgresLabel = "PostgreSQL";
postgresName = "postgres";
in {
label = postgresLabel;
name = postgresName;
sops = {
path0 = "${sopsPath}/${postgresName}";
};
paths = {
path0 = "${servicePath}/${postgresLabel}";
};
ports = {
port0 = 5432;
};
}