Issues with Internal Webcam After NixOS Installation

Upon installing NixOS version 23.05 on my Lenovo Ideapad 330, the internal webcam stopped working. I’ve tried to search for a fix, but no luck so far. I’ve used other systems like Windows, Ubuntu, Linux Mint, and Endeavour OS, and the webcam worked fine on all of them. However, upon transitioning to NixOS, the webcam issue emerged. I really like using NixOS and want to stick with it, but my work relies on the webcam. Any ideas on how to fix this issue?