fix(gpu): remove i915 from initrd when arc is set
This commit is contained in:
parent
bce6dcc5fd
commit
c46ba19ad7
|
@ -94,7 +94,7 @@ in {
|
|||
|
||||
boot.initrd.kernelModules =
|
||||
optional amdgpu "amdgpu" ++
|
||||
optional intel "i915" ++
|
||||
optional (intel && cfg.arc == null) "i915" ++
|
||||
optionals nvidia [ "nvidia" "nvidia_drm" "nvidia_modeset" "nvidia_uvm" ] ++
|
||||
optional (cfg.arc != null) "vfio-pci";
|
||||
|
||||
|
|
Loading…
Reference in a new issue