(2) The head of an agency of an employee detailed under subsection (a) of this section may pay a lodging allowance for the employee subject to the following conditions:
(A) The allowance shall be the lesser of the cost of the lodging or a maximum amount payable for the lodging as established jointly by the Director of National Intelligence and
(i) with respect to detailed employees of the Department of Defense, the Secretary of Defense; and
(ii) with respect to detailed employees of other agencies and departments, the head of such agency or department.
(B) The detailed employee maintains a primary residence for the employees immediate family in the local commuting area of the parent agency duty station from which the employee regularly commuted to such duty station before the detail.
(C) The lodging is within a reasonable proximity of the host agency duty station.
(D) The distance between the detailed employees parent agency duty station and the host agency duty station is greater than 20 miles.
(E) The distance between the detailed employees primary residence and the host agency duty station is 10 miles greater than the distance between such primary residence and the employees parent duty station.
(F) The rate of pay applicable to the detailed employee does not exceed the rate of basic pay for grade GS15 of the General Schedule.