was nothing but; did nothing butばかり emphasizes that something was the only thing present or done. With a verb, it can also describe something that kept happening or changing in one direction.
JA: 休みの日は家で寝ているばかりだった。
EN: On my days off, I did nothing but sleep at home.