added extraOptions to podman-postgresql

This commit is contained in:
mc-fucker 2023-06-26 15:04:49 +02:00
parent 0e124b237b
commit 8c67608e95

View file

@ -1,8 +1,9 @@
{ config, lib, pkgs, ... }:
with lib;
let cfgs = config.services.podman-postgresql;
let
cfgs = config.services.podman-postgresql;
conf = import ./vars.nix;
in
{
@ -73,6 +74,7 @@ in
"/var/lib/postgresql/${cfg.database}:/var/lib/postgresql/data"
"${cfg.passwordFile}:${cfg.passwordFile}"
];
extraOptions = conf.podman.extraOptions;
};
}) cfgs);