summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-13 14:08:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-13 14:08:43 +0200
commit6dd287bfd6d2a5ed06df807fad317a44e4fec865 (patch)
treeb8a3e7b9821422a90f5869920433a0852f6540a9
parent1f5b0a504c793ecec2d91fdbdcee4c2a7a49fc72 (diff)
downloadnixos-6dd287bfd6d2a5ed06df807fad317a44e4fec865.tar
nixos-6dd287bfd6d2a5ed06df807fad317a44e4fec865.tar.gz
nixos-6dd287bfd6d2a5ed06df807fad317a44e4fec865.tar.bz2
nixos-6dd287bfd6d2a5ed06df807fad317a44e4fec865.tar.xz
nixos-6dd287bfd6d2a5ed06df807fad317a44e4fec865.zip
no upgrade needed is success
-rw-r--r--bragi.nix1
-rw-r--r--ymir.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index 6a2bcb1a..f97d6295 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -461,6 +461,7 @@ 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";
464 465
465 systemd.status-mail = { 466 systemd.status-mail = {
466 recipient = "root@yggdrasil.li"; 467 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 {
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";
903 904
904 systemd.status-mail = { 905 systemd.status-mail = {
905 onFailure = [ "nixos-upgrade" ]; 906 onFailure = [ "nixos-upgrade" ];