summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-14 12:26:36 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-14 12:26:36 +0200
commita8425f0f40d1d612467ff73406185d86095ae699 (patch)
treef493231b7c8cfac5df5eb96cea093f171d78b244
parent22a21bf8819e4b2b89cd5ffe5e3ce06e47150bb4 (diff)
downloadnixos-a8425f0f40d1d612467ff73406185d86095ae699.tar
nixos-a8425f0f40d1d612467ff73406185d86095ae699.tar.gz
nixos-a8425f0f40d1d612467ff73406185d86095ae699.tar.bz2
nixos-a8425f0f40d1d612467ff73406185d86095ae699.tar.xz
nixos-a8425f0f40d1d612467ff73406185d86095ae699.zip
Revert "no upgrade needed is success"
This reverts commit 6dd287bfd6d2a5ed06df807fad317a44e4fec865.
-rw-r--r--bragi.nix1
-rw-r--r--ymir.nix1
2 files changed, 0 insertions, 2 deletions
diff --git a/bragi.nix b/bragi.nix
index f97d6295..6a2bcb1a 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -461,7 +461,6 @@ in rec {
461 git -C /etc/nixos pull 461 git -C /etc/nixos pull
462 git -C /etc/nixos submodule update 462 git -C /etc/nixos submodule update
463 ''; 463 '';
464 systemd.services."nixos-upgrade".serviceConfig.SuccessExitStatus = "100";
465 464
466 systemd.status-mail = { 465 systemd.status-mail = {
467 recipient = "root@yggdrasil.li"; 466 recipient = "root@yggdrasil.li";
diff --git a/ymir.nix b/ymir.nix
index 42838d78..c41ce1ad 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -900,7 +900,6 @@ in rec {
900 git -C /etc/nixos pull 900 git -C /etc/nixos pull
901 git -C /etc/nixos submodule update 901 git -C /etc/nixos submodule update
902 ''; 902 '';
903 systemd.services."nixos-upgrade".serviceConfig.SuccessExitStatus = "100";
904 903
905 systemd.status-mail = { 904 systemd.status-mail = {
906 onFailure = [ "nixos-upgrade" ]; 905 onFailure = [ "nixos-upgrade" ];