#!/usr/bin/env bash set -euo pipefail which nix 2>1 > /dev/null || { echo "nix command not found. Install nix and try again"; exit 1; } nix --extra-experimental-features "nix-command" \ --substituters "https://nix-cache.clerie.de" \ --trusted-public-keys "nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=" \ copy --from "https://nix-cache.clerie.de" \ /nix/store/limddlb6jd498dv76pj7g61vnvyhx0di-nixfiles-auto-install /nix/store/limddlb6jd498dv76pj7g61vnvyhx0di-nixfiles-auto-install/bin/nixfiles-auto-install