summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-03-23 09:57:54 +0100
committerlassulus <lassulus@lassul.us>2020-03-23 09:57:54 +0100
commit2552d6321c309291147e3d7cc53501480b69f295 (patch)
tree7e4ad4702d8cf66e76dffc9bf294df9e33ddbb3f /krebs
parent539f783a7eba249f4221c4013032a05839ac3282 (diff)
realwallpaper: add nomad-clouds as cloud provider
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/simple/realwallpaper/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/krebs/5pkgs/simple/realwallpaper/default.nix b/krebs/5pkgs/simple/realwallpaper/default.nix
index ef83d2e59..3f75e9e1e 100644
--- a/krebs/5pkgs/simple/realwallpaper/default.nix
+++ b/krebs/5pkgs/simple/realwallpaper/default.nix
@@ -1,5 +1,5 @@
{ pkgs, ... }:
-pkgs.writeDashBin "generate-wallpaper" ''
+pkgs.writers.writeDashBin "generate-wallpaper" ''
set -euf
# usage: getimg FILENAME URL
@@ -68,15 +68,15 @@ pkgs.writeDashBin "generate-wallpaper" ''
"$nightmap_url" &
fetch daymap-raw.png \
"$daymap_url" &
- fetch clouds-raw.jpg \
- "$cloudmap_url" &
fetch marker.json \
"$marker_url" &
wait
+ ${pkgs.nomads-cloud}/bin/nomads-cloud clouds-raw.png
+
check_type nightmap-raw.jpg image
check_type daymap-raw.png image
- check_type clouds-raw.jpg image
+ check_type clouds-raw.png image
in_size=2048x1024
xplanet_out_size=1466x1200
@@ -87,7 +87,7 @@ pkgs.writeDashBin "generate-wallpaper" ''
for raw in \
nightmap-raw.jpg \
daymap-raw.png \
- clouds-raw.jpg \
+ clouds-raw.png \
;
do
normal=''${raw%-raw.*}.png