[noun] + ばかりで、[sentence] [verb て-form] + ばかりで、[sentence] [verb (dictionary form)] + ばかりで、[sentence] [i-adj] + ばかりで、[sentence]
ばかりで says that one thing is all there is, and the clause after it says what is missing or what goes wrong because of it: "nothing but…, and…". It follows a noun directly or a verb in the て-form, and it is nearly always a complaint – about someone else or about yourself.
A verb takes the て-form. With the た-form it is a different pattern, たばかり, "just did".
After an い-adjective or the dictionary form of a verb, ばかりで means "only": this is the one thing it does or has, and what you wanted is not there.
ばかりで joins two clauses. To end the sentence on "does nothing but", use てばかりいる, which is its own grammar point. Its て-form, てばかりいて, joins two clauses as well and means the same as ばかりで.