On the genetic mechanisms of nutrient-dependent lifespan and reproduction