diff options
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |