Home-manager, format fetched tarball output

I’m searching a way to format the unpacked ouput from a home.file using pkgs.fetchFromGithub. Actually i just need to remove/edit one of the fetched files.