Texture paint on top of nodes?

Hi, I have a problem with texture painting so I made this node to give the skull bone texture but I want to paint the dark areas with dirt, how do you do that? I tried to paint on top but it says texture missing so I chose the bone material and when I paint nothing happens

Maybe you could bake the procedural texture then paint on top of that?