summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index d5219656..76e07367 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -901,7 +901,11 @@ in rec {
901 systemd.services."nixos-upgrade".onFailure = ["unit-status-mail@%n.service"]; 901 systemd.services."nixos-upgrade".onFailure = ["unit-status-mail@%n.service"];
902 902
903 systemd.services."unit-status-mail@" = { 903 systemd.services."unit-status-mail@" = {
904 serviceConfig = {
905 Type = "oneshot";
906 };
904 scriptArgs = "%I %H %m %b"; 907 scriptArgs = "%I %H %m %b";
908 path = [ config.security.wrapperDir ]; # For sendmail
905 script = '' 909 script = ''
906 #!${pkgs.stdenv.shell} 910 #!${pkgs.stdenv.shell}
907 MAILTO="root" 911 MAILTO="root"