What are the common risk factors for type 1 and type 2 diabetes?

Nature vs Nuture. Type 1 dm can be genetic and is thought to be related to viral infection. Risk of type 2 dm are also family hx but especially being overweight, diet, lack of exercise.