Desktop Updates Mon Jun 2 10:08:16 AM CDT 2025

This commit is contained in:
mjallen18
2025-06-02 10:08:16 -05:00
parent 74c7d9e35e
commit aed202af54
4 changed files with 64 additions and 36 deletions

View File

@@ -120,15 +120,15 @@
# git push
'';
# # Send an email on failure (optional)
# startPost = ''
# if [ $SERVICE_RESULT != "success" ]; then
# ${pkgs.mailutils}/bin/mail -s "NixOS cache rebuild failed" your-email@example.com <<EOF
# The nix-rebuild-cache service failed at $(date).
# Please check the logs with: journalctl -u nix-rebuild-cache
# EOF
# fi
# '';
# Send an email on failure (optional)
startPost = ''
if [ $SERVICE_RESULT != "success" ]; then
${pkgs.mailutils}/bin/mail -s "NixOS cache rebuild failed" jalle008@proton.me <<EOF
The nix-rebuild-cache service failed at $(date).
Please check the logs with: journalctl -u nix-rebuild-cache
EOF
fi
'';
};
systemd.timers.nix-rebuild-cache = {