In the linked Blender artis thread of the title, Lazy Dodo is presenting a collection of complex nodegroups themed around the procedurale Brick texture. In practice is reconstructing them node by node with the built in function.
In addition to the usual parameters, their nodes outputs provide several useful function, like the UV of each tile present in the "brick_wall_basic" nodegroup you can find in the blendfile provided by the author or use the add-on:
We can easily use this texture to repat a pattern by simply using the UV output as a Texture Coordinate of our images.
Give those two pattern, in order to overlap them, we'll use the original Brick texture Color output as a mask for a nice procedural variation:
Sincronize the input values between the two procedural textures to ensure a correct overlap between them as long as possible (Brick Texture has no input for the Frequency or the Squash, you'll have to update manually or implement the mask in the nodegrup):