feat(gen): add environment-based settings
Merge branch 'templates-definition' into polyconseil