talos: enable v4l2 virtual camera module

This commit is contained in:
Antoine Martin 2024-10-27 17:37:31 +01:00
parent 2776dce09c
commit e12f7feefc

View file

@ -20,6 +20,12 @@
# Set Wi-Fi regulatory domain. Currently always set to '00' (world), and could
# lead to bad Wi-Fi performance
boot.kernelParams = ["cfg80211.ieee80211_regdom=FR"];
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot = {