summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" ];