1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-15 15:39:41 +01:00
nixos-hardware/dell/precision/5490/default.nix
2024-10-19 09:47:05 +00:00

13 lines
312 B
Nix

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