I specialize in Computability Theory which is part of Mathematical Logic at the intersection of Theoretical Computer Science and Mathematics. Therefore I could potentially apply for jobs (e.g. a lecturer) to philosophy (because of logic and foundations of mathematics), computer science and mathematics departments.
However, my research is of very mathematical nature. Hence, if I am going to collaborate with some other researchers, they are almost certainly going to be mathematicians. If I am going to have a PhD student, I would prefer if he/she took mathematical graduate courses since these are going to be more related to my research and the research I can supervise. Similarly, I would prefer to supervise the final year students writing their thesis more related to my research.
I am afraid this may pose a conflict, if I for example am not interested in the research of my employing department and do not collaborate with the colleagues there or do not attend their seminars. On the other hand I can imagine that the interdisciplinary collaboration with colleagues from other departments may be welcomed.
The reason why I ask this is because getting a job in academia is competetive and one cannot always get the preferred position. Therefore: what points should I consider when applying for/accepting a position at another department outside my nominal specialization?