diff --git a/hosts/talos/default.nix b/hosts/talos/default.nix index 5ee9cd2..02dff05 100644 --- a/hosts/talos/default.nix +++ b/hosts/talos/default.nix @@ -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 = {