diff options
-rw-r--r-- | bragi.nix | 1 | ||||
-rw-r--r-- | ymir.nix | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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"; |
@@ -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" ]; |