2024-05-11 15:41:19 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [./laptop.nix];
|
2024-03-23 06:49:46 +00:00
|
|
|
boot = {
|
|
|
|
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
|
|
|
extraModprobeConfig = ''
|
|
|
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
hardware.opengl = {
|
|
|
|
driSupport = true;
|
|
|
|
driSupport32Bit = true;
|
2024-05-11 15:41:19 +01:00
|
|
|
extraPackages = with pkgs; [amdvlk rocmPackages.clr.icd];
|
|
|
|
extraPackages32 = [pkgs.driversi686Linux.amdvlk];
|
2024-03-23 06:49:46 +00:00
|
|
|
};
|
2024-01-12 22:06:16 +00:00
|
|
|
}
|