Exploration
There's no output without input. You can work all you want but if you're not actively searching for as much external stimuli as possible, your musical range will be limited. This stimuli can be in the form of other music, or even completely unrelated things like going into nature, reading a book, or watching movies. Anything can contribute to your musicality, and enriching your life will tend to enrich your music.