The new Digital Nomad Visa is mainly aimed at non-EEA nationals (including the British) and Spanish citizens who have not resided in Spain for at least 5 years. It is for remote workers who are employed by a non-Spanish company operating outside of Spain. You can find more information here.