fix: install curl to use it

This commit is contained in:
Robert Perce 2026-01-18 22:45:50 -06:00
parent df50fa3830
commit 39bc01a6a4

View file

@ -17,6 +17,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
grafana-to-ntfy grafana-to-ntfy
curl
]; ];
networking.extraHosts = '' networking.extraHosts = ''
@ -173,7 +174,7 @@
startAt = "daily"; startAt = "daily";
postHook = '' postHook = ''
if [ $exitStatus -eq 0 ]; then if [ $exitStatus -eq 0 ]; then
/run/current-system/sw/bin/curl -sSL 'http://192.168.0.6:3001/api/push/LmyyAawLzw?status=up&msg=OK&ping=' /run/current-system/sw/bin/curl -sSL 'http://uptime.rperce.net/api/push/LmyyAawLzw?status=up&msg=OK&ping='
fi fi
''; '';
}; };