diff --git a/hosts/chunk/borg.nix b/hosts/chunk/borg.nix index c6d6e5f..6b8a5b3 100644 --- a/hosts/chunk/borg.nix +++ b/hosts/chunk/borg.nix @@ -43,6 +43,8 @@ ]; # warnings are often not that serious failOnWarnings = false; + # anything other than exit code 1 is considered failure and BORG_EXIT_CODES=modern uses a whole lot more codes for warning + appendFailedSuffix = false; postHook = '' ${pkgs.curl}/bin/curl -u $(cat ${ config.sops.secrets."services/ntfy".path diff --git a/hosts/ytnix/default.nix b/hosts/ytnix/default.nix index 8fa0999..8edd37f 100644 --- a/hosts/ytnix/default.nix +++ b/hosts/ytnix/default.nix @@ -224,6 +224,8 @@ ]; # warnings are often not that serious failOnWarnings = false; + # anything other than exit code 1 is considered failure and BORG_EXIT_CODES=modern uses a whole lot more codes for warning + appendFailedSuffix = false; postHook = '' ${pkgs.curl}/bin/curl -u $(cat ${ config.sops.secrets."services/ntfy".path