From 6dd287bfd6d2a5ed06df807fad317a44e4fec865 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 13 Aug 2017 14:08:43 +0200 Subject: no upgrade needed is success --- bragi.nix | 1 + ymir.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/bragi.nix b/bragi.nix index 6a2bcb1a..f97d6295 100644 --- a/bragi.nix +++ b/bragi.nix @@ -461,6 +461,7 @@ in rec { git -C /etc/nixos pull git -C /etc/nixos submodule update ''; + systemd.services."nixos-upgrade".serviceConfig.SuccessExitStatus = "100"; systemd.status-mail = { recipient = "root@yggdrasil.li"; diff --git a/ymir.nix b/ymir.nix index ffad2904..9c289d7f 100644 --- a/ymir.nix +++ b/ymir.nix @@ -900,6 +900,7 @@ in rec { git -C /etc/nixos pull git -C /etc/nixos submodule update ''; + systemd.services."nixos-upgrade".serviceConfig.SuccessExitStatus = "100"; systemd.status-mail = { onFailure = [ "nixos-upgrade" ]; -- cgit v1.2.3