-{ env }:
+{ env, config }:
rec {
keys = [{
dest = "webapps/tools-dmarc-reports.php";
};
phpFpm = rec {
basedir = builtins.concatStringsSep ":"
- [ webRoot "/var/secrets/webapps/tools-dmarc-reports.php" ];
+ [ webRoot config.secrets.fullPaths."webapps/tools-dmarc-reports.php" ];
pool = {
"listen.owner" = apache.user;
"listen.group" = apache.group;
"php_admin_value[open_basedir]" = "${basedir}:/tmp";
};
phpEnv = {
- SECRETS_FILE = "/var/secrets/webapps/tools-dmarc-reports.php";
+ SECRETS_FILE = config.secrets.fullPaths."webapps/tools-dmarc-reports.php";
};
};
}