mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
Add basic dell precision 5490
This commit is contained in:
committed by
mergify[bot]
parent
a825917ead
commit
2d125b6c56
15
dell/precision/5490/README.md
Normal file
15
dell/precision/5490/README.md
Normal file
@@ -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.
|
||||
14
dell/precision/5490/default.nix
Normal file
14
dell/precision/5490/default.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user