mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
12 lines
220 B
Nix
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
|
|
'';
|
|
}
|