01 - Preheat oven to 325°F and line a large baking sheet with parchment paper.
02 - In a large bowl, mix oats, chopped walnuts, coconut flakes if using, cinnamon, and salt until evenly distributed.
03 - Whisk together maple syrup or honey, melted oil, and vanilla extract in a separate small bowl.
04 - Pour the wet mixture over the dry ingredients and stir thoroughly until oats and nuts are evenly coated.
05 - Transfer the mixture onto the prepared baking sheet, spreading it out evenly.
06 - Bake for 25 to 30 minutes, stirring halfway through, until golden brown and aromatic.
07 - Remove from oven and let cool completely on the baking sheet, allowing the granola to crisp. Once cooled, fold in dried cranberries.
08 - Store in an airtight container at room temperature for up to two weeks.