Desktop Updates Mon Jun 2 10:08:16 AM CDT 2025
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user