2024-01-30 14:21:50 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
2024-01-12 22:06:16 +00:00
|
|
|
boot.extraModprobeConfig = ''
|
|
|
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
|
|
'';
|
2024-01-20 08:14:31 +00:00
|
|
|
hardware.opengl.driSupport32Bit = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
hardware.opengl.extraPackages = with pkgs; [amdvlk rocmPackages.clr.icd];
|
|
|
|
hardware.opengl.extraPackages32 = [pkgs.driversi686Linux.amdvlk];
|
2024-01-12 22:06:16 +00:00
|
|
|
}
|