Fix initrd modules for Vanguard
This commit is contained in:
parent
29e3c29e3a
commit
27e90f9de9
|
@ -1,6 +1,7 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
imports = [./desktop.nix];
|
imports = [./desktop.nix];
|
||||||
boot = {
|
boot = {
|
||||||
|
initrd.kernelModules = ["amdgpu"];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||||
|
@ -11,7 +12,6 @@
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
amdgpu.initrd.enable = true;
|
|
||||||
steam-hardware.enable = true;
|
steam-hardware.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue