mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
formated whole config with alejandra
This commit is contained in:
+15
-12
@@ -1,14 +1,17 @@
|
||||
{ writeShellApplication, curl, ... }:
|
||||
|
||||
{
|
||||
writeShellApplication,
|
||||
curl,
|
||||
...
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "custom-weather";
|
||||
runtimeInputs = [
|
||||
curl
|
||||
];
|
||||
text = ''
|
||||
while true; do
|
||||
curl "https://wttr.in/?0&d&q&F&lang=fr"
|
||||
sleep 7200
|
||||
done
|
||||
'';
|
||||
name = "custom-weather";
|
||||
runtimeInputs = [
|
||||
curl
|
||||
];
|
||||
text = ''
|
||||
while true; do
|
||||
curl "https://wttr.in/?0&d&q&F&lang=fr"
|
||||
sleep 7200
|
||||
done
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user