Does anyone have any experience using v4l2loopback on NixOS?
I’m getting this error: modprobe: FATAL: Module v4l2loopback not found in directory /run/booted-system/kernel-modules/lib/modules/5.15.89 when running sudo modprobe v4l2loopback exclusive_caps=1 max_buffers=2
uname -a: Linux nixos 5.15.89 #1-NixOS SMP Wed Jan 18 10:48:59 UTC 2023 x86_64 GNU/Linux
Here’s the link to the version of v4l2 that I added to my environment: NixOS Search
I maybe assumed incorrectly that it would get this version from your system environment, maybe it will get the version from the kernel version file in the repo here which would put the version ahead of mine at 5.15.99 > 5.15.89.
Would it make sense to bump my kernel version in this case? Seems according to the documentation the version headers must match in order for v4l2 to work at all.
It would make sense that the module isn’t where it would be anticipated to be since the kernel versions don’t match, but I’m relatively new to Nix/Linux and don’t want to mess anything up by bumping my kernel version.
I went ahead and updated via nix-channel --update & sudo nixos-rebuild switch --upgrade but I am still getting the same error now with the new kernel version: modprobe: FATAL: Module v4l2loopback not found in directory /run/booted-system/kernel-modules/lib/modules/5.15.99