diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-07-30 19:28:06 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-07-30 19:28:06 +0200 |
commit | afc2aec6b3257ef665891f50b3630e78ffb48ea8 (patch) | |
tree | 778c815637d9115ca3436822e54e9d7dc8fc922f /custom/unit-status-mail.nix | |
parent | c68361bf7140424e50608b490fb8775516ea9a24 (diff) | |
download | nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar.gz nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar.bz2 nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.tar.xz nixos-afc2aec6b3257ef665891f50b3630e78ffb48ea8.zip |
scoping
Diffstat (limited to 'custom/unit-status-mail.nix')
-rw-r--r-- | custom/unit-status-mail.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/unit-status-mail.nix b/custom/unit-status-mail.nix index 355d1cf7..c1947063 100644 --- a/custom/unit-status-mail.nix +++ b/custom/unit-status-mail.nix | |||
@@ -36,7 +36,7 @@ in { | |||
36 | scriptArgs = "%I \"Hostname: %H\" \"Machine-ID: %m\" \"Boot-ID: %b\""; | 36 | scriptArgs = "%I \"Hostname: %H\" \"Machine-ID: %m\" \"Boot-ID: %b\""; |
37 | script = '' | 37 | script = '' |
38 | #!${pkgs.stdenv.shell} | 38 | #!${pkgs.stdenv.shell} |
39 | MAILTO="${recipient}" | 39 | MAILTO="${cfg.recipient}" |
40 | MAILFROM="unit-status-mailer" | 40 | MAILFROM="unit-status-mailer" |
41 | UNIT=$1 | 41 | UNIT=$1 |
42 | 42 | ||