Fix initrd modules for Vanguard

This commit is contained in:
Evie Litherland-Smith 2024-06-26 05:53:49 +01:00
parent 29e3c29e3a
commit 27e90f9de9

View file

@ -1,6 +1,7 @@
{config, ...}: {
imports = [./desktop.nix];
boot = {
initrd.kernelModules = ["amdgpu"];
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
@ -11,7 +12,6 @@
driSupport = true;
driSupport32Bit = true;
};
amdgpu.initrd.enable = true;
steam-hardware.enable = true;
};