Defence roles have always been quite prominent in the UK IT sector. I've been offered at least 3 roles in defence in the past but not accepted one yet. The first was following my masters in electronics and was related to radar design. The others have been related to managing sensitive data. At that time WFH would not have been acceptable, but since then I've known security cleared staff to be able to work from home on these kinds of systems. This would work better as military bases are often in the middle of no-where so not ideal to get to from most cities.
I guess I've put them at the bottom of my list previously due to moral reasons, although the problems are often interesting.