Cytomegalovirus infection drives adaptive epigenetic diversification of NK cells with altered signaling and effector function.