nix: filter out .git, links, dist and result from `src`