mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
16ach6h: re-enable edid for internal display only
This commit is contained in:
parent
968952f950
commit
b081de56df
2 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,9 @@ in
|
||||||
{
|
{
|
||||||
hardware.firmware = [ chip_edid ];
|
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
|
# This fails at the moment, https://github.com/NixOS/nixos-hardware/issues/795
|
||||||
# Extra refresh rates seem to work regardless
|
# Extra refresh rates seem to work regardless
|
||||||
# boot.initrd.extraFiles."lib/firmware/edid/16ach6h.bin".source = pkgs.runCommandLocal "chip_edid" { } "cp ${./16ach6h.bin} $out";
|
# 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/gpu/nvidia/prime.nix
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../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
|
# Still needs to load at some point if we want X11 to work
|
||||||
|
|
Loading…
Reference in a new issue