extract obs kernel module
This commit is contained in:
7
system-modules/obs.nix
Normal file
7
system-modules/obs.nix
Normal 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'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user