Let R be a ring with an endomorphism and an -derivation . Antoine studied the structure of the set of nilpotent elements in Armendariz rings and introduced nil-Armendariz rings. In this paper we introduce and investigate the notion of nil-( , )-compatible rings. The class of nil-( , )-compatible rings are extended through various ring extensions and many classes of nil-( , )-compatible rings are constructed. We also prove that, if R is nil--compatible and nil-Armendariz ring of power series type with nil R nilpotent, then nil(R[[x; ]]) nil(R)[[x; ]]. We show that, if R is a nil-Armendariz ring of power series type, with nil R nilpotent and nil-( , )-compatible ring, then nil R x; , nil R x; , . As a consequence, several known results are unified and extended to the more general setting. Also examples are provided to illustrate our results.