I am non-EU citizen working in Luxembourg with a valid Luxembourg work permit, but I would like to move to the German boarder (Trier) and commute every day to go to work. My question is: is it possible to obtain a residence permit in Germany and remain working in Luxembourg ? If yes, would it be possible later to renew my work permit in Luxembourg by being a German resident, or the German residence permit would allow me to work in Luxembourg ?