diff --git a/dell/precision/5490/README.md b/dell/precision/5490/README.md new file mode 100644 index 0000000..380a843 --- /dev/null +++ b/dell/precision/5490/README.md @@ -0,0 +1,15 @@ +# Dell Precision 5490 + +The internal monitor needs Linux Kernel >= 6.7 so enabling hybrid graphics does not work out of the box in 24.05. Setting + +``` +boot.kernelParams = [ "i915.force_probe=7d55" ]; +``` + +helped but introduced some screen tearing. + +Setting +``` +boot.kernelPackages = pkgs.linuxPackages_latest; +``` +in nixos-stable worked with no problems. diff --git a/dell/precision/5490/default.nix b/dell/precision/5490/default.nix new file mode 100644 index 0000000..0e0c5b4 --- /dev/null +++ b/dell/precision/5490/default.nix @@ -0,0 +1,14 @@ +{ lib, ... }: +{ + imports = [ + ../../../common/gpu/nvidia + ]; + + # or even better: boot.kernelParams = pkgs.linuxPackages_latest; + boot.kernelParams = [ "i915.force_probe=7d55" ]; + + hardware.nvidia.prime = { + intelBusId = "PCI:0:2:0"; + nvidiaBusId = "PCI:1:0:0"; + }; +}