Something went wrong. Try again.
NixOS / Nix-darwin / Home Manager dotfiles for my devices
Something went wrong. Try again.
123456789101112#!/usr/bin/env bashset -euo pipefail
# Materialize the root source: metadata can omit its path/hash with lazy fetching.nix flake prefetch --json . | jq -er ' if .storePath == null or .hash == null then error("nix flake prefetch did not return storePath and hash") else "path:\(.storePath)?narHash=\(.hash | @uri)" end'