mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 07:23:29 +01:00
dell-precision-5490: make force_probe conditional
This commit is contained in:
1 parent
b2f6701f91
commit
99918dfbd7
2 files changed
+7
-9
No files matched your search
@@ -1,13 +1,11 @@
|
||||
{ lib, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../common/gpu/nvidia
|
||||
../../../common/gpu/nvidia/ada-lovelace
|
||||
];
|
||||
|
||||
# or even better: boot.kernelParams = pkgs.linuxPackages_latest;
|
||||
boot.kernelParams = [ "i915.force_probe=7d55" ];
|
||||
boot.kernelParams = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.7") [ "i915.force_probe=7d55" ];
|
||||
|
||||
hardware.nvidia.open = true;
|
||||
hardware.nvidia.prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
|
||||
Reference in new issue
Block a user