fix: install curl to use it
This commit is contained in:
parent
df50fa3830
commit
39bc01a6a4
1 changed files with 3 additions and 2 deletions
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
grafana-to-ntfy
|
||||
curl
|
||||
];
|
||||
|
||||
networking.extraHosts = ''
|
||||
|
|
@ -173,7 +174,7 @@
|
|||
startAt = "daily";
|
||||
postHook = ''
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue