added weather script

This commit is contained in:
Tomas Rivera
2026-02-26 18:53:36 +01:00
parent 321fe30583
commit 09379e898b
5 changed files with 15 additions and 51 deletions
+11
View File
@@ -0,0 +1,11 @@
{ writeShellApplication, curl, ... }:
writeShellApplication {
name = "custom-weather";
runtimeInputs = [
curl
];
text = ''
while true; do curl "https://wttr.in/Prangins?0&d&q&F&lang=fr"; sleep 7200; done
'';
}