Quick way to spin up a Nix binary cache on your filesystem

Nixpkgs has a pkgs.mkBinaryCache helper that lets you create a flat-file binary cache suitable for moving around without needing a server component.