mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 20:19:45 +01:00
Merge pull request #892 from piousdeer/yes-edid
16ach6h: re-enable edid for internal display only
This commit is contained in:
commit
7559df1e4a
2 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,9 @@ in
|
|||
{
|
||||
hardware.firmware = [ chip_edid ];
|
||||
|
||||
boot.kernelParams = [ "drm.edid_firmware=edid/16ach6h.bin" ];
|
||||
# For some reason, the internal display is sometimes eDP-1, and sometimes it's eDP-2
|
||||
boot.kernelParams = [ "drm.edid_firmware=eDP-1:edid/16ach6h.bin,eDP-2:edid/16ach6h.bin" ];
|
||||
|
||||
# This fails at the moment, https://github.com/NixOS/nixos-hardware/issues/795
|
||||
# Extra refresh rates seem to work regardless
|
||||
# boot.initrd.extraFiles."lib/firmware/edid/16ach6h.bin".source = pkgs.runCommandLocal "chip_edid" { } "cp ${./16ach6h.bin} $out";
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
../../../../common/gpu/nvidia/prime.nix
|
||||
../../../../common/pc/laptop
|
||||
../../../../common/pc/laptop/ssd
|
||||
# This seems to break extra monitor modes
|
||||
# ../edid
|
||||
../edid
|
||||
];
|
||||
|
||||
# Still needs to load at some point if we want X11 to work
|
||||
|
|
Loading…
Reference in a new issue