diff options
Diffstat (limited to 'modules/private/mail/postfix.nix')
-rw-r--r-- | modules/private/mail/postfix.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/mail/postfix.nix b/modules/private/mail/postfix.nix index 70c3f46..de5e59d 100644 --- a/modules/private/mail/postfix.nix +++ b/modules/private/mail/postfix.nix | |||
@@ -220,7 +220,7 @@ | |||
220 | fi | 220 | fi |
221 | ''; | 221 | ''; |
222 | scripts = lib.attrsets.mapAttrs (n: v: | 222 | scripts = lib.attrsets.mapAttrs (n: v: |
223 | toScript n (pkgs.callPackage (builtins.fetchGit { url = v.src.url; ref = "master"; rev = v.src.rev; }) { scriptEnv = "/var/secrets/postfix/scripts/${n}-env"; }) | 223 | toScript n (pkgs.callPackage (builtins.fetchGit { url = v.src.url; ref = "master"; rev = v.src.rev; }) { scriptEnv = config.secrets.fullPaths."postfix/scripts/${n}-env"; }) |
224 | ) config.myEnv.mail.scripts // { | 224 | ) config.myEnv.mail.scripts // { |
225 | testmail = pkgs.writeScript "testmail" '' | 225 | testmail = pkgs.writeScript "testmail" '' |
226 | #! ${pkgs.stdenv.shell} | 226 | #! ${pkgs.stdenv.shell} |