diff options
Diffstat (limited to 'modules/private/websites/tools/tools/dmarc_reports.nix')
-rw-r--r-- | modules/private/websites/tools/tools/dmarc_reports.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/tools/tools/dmarc_reports.nix b/modules/private/websites/tools/tools/dmarc_reports.nix index e264e80..5fdf0b6 100644 --- a/modules/private/websites/tools/tools/dmarc_reports.nix +++ b/modules/private/websites/tools/tools/dmarc_reports.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { env }: | 1 | { env, config }: |
2 | rec { | 2 | rec { |
3 | keys = [{ | 3 | keys = [{ |
4 | dest = "webapps/tools-dmarc-reports.php"; | 4 | dest = "webapps/tools-dmarc-reports.php"; |
@@ -43,7 +43,7 @@ rec { | |||
43 | }; | 43 | }; |
44 | phpFpm = rec { | 44 | phpFpm = rec { |
45 | basedir = builtins.concatStringsSep ":" | 45 | basedir = builtins.concatStringsSep ":" |
46 | [ webRoot "/var/secrets/webapps/tools-dmarc-reports.php" ]; | 46 | [ webRoot config.secrets.fullPaths."webapps/tools-dmarc-reports.php" ]; |
47 | pool = { | 47 | pool = { |
48 | "listen.owner" = apache.user; | 48 | "listen.owner" = apache.user; |
49 | "listen.group" = apache.group; | 49 | "listen.group" = apache.group; |
@@ -55,7 +55,7 @@ rec { | |||
55 | "php_admin_value[open_basedir]" = "${basedir}:/tmp"; | 55 | "php_admin_value[open_basedir]" = "${basedir}:/tmp"; |
56 | }; | 56 | }; |
57 | phpEnv = { | 57 | phpEnv = { |
58 | SECRETS_FILE = "/var/secrets/webapps/tools-dmarc-reports.php"; | 58 | SECRETS_FILE = config.secrets.fullPaths."webapps/tools-dmarc-reports.php"; |
59 | }; | 59 | }; |
60 | }; | 60 | }; |
61 | } | 61 | } |