mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
Add basic dell precision 5490
This commit is contained in:
parent
a825917ead
commit
2d125b6c56
2 changed files with 29 additions and 0 deletions
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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue