diff --git a/hosts/README.org b/hosts/README.org index 6732fc3..9d0f6ab 100644 --- a/hosts/README.org +++ b/hosts/README.org @@ -1,3 +1,3 @@ -+ Satori is my home laptop -+ Marisa is my Raspberry Pi 4 (B) -+ Remilia is my cloud VM ++ satori is my home laptop ++ marisa is my Raspberry Pi 4 (B) ++ remilia is my cloud VM diff --git a/overlays/customscripts/src/up b/overlays/customscripts/src/up index 13fd6fb..1f28a03 100644 --- a/overlays/customscripts/src/up +++ b/overlays/customscripts/src/up @@ -1,6 +1,5 @@ -#!/usr/bin/env nix-shell -#! nix-shell -i bash -p curl +#!/usr/bin/env sh for x in "$@"; do - curl -F "file=@\"$x\"" --header "key: $FILEHOST_KEY" https://f.weirdnatto.in + curl -F "file=@\"$x\"" -F "key=$FILEHOST_KEY" https://f.weirdnatto.in echo " " done