diff --git a/.envrc b/.envrc new file mode 100644 index 00000000..2c57cdac --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +dotenv_if_exists diff --git a/bin/home-cache.sh b/bin/home-cache.sh new file mode 100755 index 00000000..6860215c --- /dev/null +++ b/bin/home-cache.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -euo pipefail + +. "$(dirname "$(readlink -f "$0")")/utils.sh" + +./bin/home-build.sh --json \ + | jq -r '.[].outputs | to_entries[].value' \ + | cachix push mindriot101-home