From ef3ad18b6e48675c16f19293b6261b63dd415f29 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 30 Jul 2017 18:27:44 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ymir.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ymir.nix b/ymir.nix index d5219656..76e07367 100644 --- a/ymir.nix +++ b/ymir.nix @@ -901,7 +901,11 @@ in rec { systemd.services."nixos-upgrade".onFailure = ["unit-status-mail@%n.service"]; systemd.services."unit-status-mail@" = { + serviceConfig = { + Type = "oneshot"; + }; scriptArgs = "%I %H %m %b"; + path = [ config.security.wrapperDir ]; # For sendmail script = '' #!${pkgs.stdenv.shell} MAILTO="root" -- cgit v1.2.3