1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 11:39:44 +01:00
nixos-hardware/dell/precision/5490/default.nix

14 lines
312 B
Nix
Raw Normal View History

{ config, lib, ... }:
2024-10-10 13:58:44 +02:00
{
imports = [
../../../common/gpu/nvidia/ada-lovelace
2024-10-10 13:58:44 +02:00
];
boot.kernelParams = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.7") [ "i915.force_probe=7d55" ];
2024-10-10 13:58:44 +02:00
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}