mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
added weather script
This commit is contained in:
@@ -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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user