add option to pass path to data-set

and add nix support