Files
nixos/modules/scripts/weather.nix
T
2026-02-26 18:53:36 +01:00

12 lines
220 B
Nix

{ 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
'';
}