We're looking into all this at the moment and I can share what we found.Â
The non-lucrative visa does not allow you to work anywhere we wrongly followed that route - and that includes Gibraltar. You need to have income from say rental properties, or a pension to be able to support yourself financially whilst 'on sabatical' or simply not acitvely working - you can have a company that you own but someone else does the day-to-day running.Â
The Golden Visa is you own a property outright in Spain worth min 500k allows you to work
I think there is a 'digital nomad' visa in the pipelines no actual date on when it will be available - that will allow you to live in spain and earn money elsewhere.Â
This is all I know but hope it helps.