Add virtual webcam config to Northstar
This commit is contained in:
parent
64fb9ee7f3
commit
e10c89f873
|
@ -2,4 +2,12 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {}
|
||||
}: {
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||
boot.extraModprobeConfig = ''
|
||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||
'';
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [amdvlk rocmPackages.clr.icd];
|
||||
hardware.opengl.extraPackages32 = [pkgs.driversi686Linux.amdvlk];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue