extract obs kernel module

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-07-10 12:28:58 +02:00
parent 381489b567
commit 46bdbb10f9
3 changed files with 15 additions and 9 deletions

7
system-modules/obs.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, pkgs, ... }@all: with all; {
boot = {
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
kernelModules = [ "v4l2loopback" ];
extraModprobeConfig = ''options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1'';
};
}