diff --git a/backup.nix b/backup.nix index 6e136e5..79649a0 100644 --- a/backup.nix +++ b/backup.nix @@ -17,8 +17,8 @@ let tar -cz -C /var/lib/redis-misskey . ''; - notifyErrorPkg = pkgs.writeShellApplication { - name = "notify-error"; + notifyEmailPkg = pkgs.writeShellApplication { + name = "notify-email"; runtimeInputs = [ pkgs.system-sendmail pkgs.coreutils ]; @@ -29,10 +29,15 @@ let to="admin@heartles.xyz" - email="$(cat <