1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

16ach6h: Use the hardware.display module

This commit is contained in:
4JX 2024-08-05 01:27:42 +02:00 committed by mergify[bot]
parent d3600fc296
commit 1c84c314db

View file

@ -8,10 +8,16 @@ let
'';
in
{
hardware.firmware = [ chip_edid ];
hardware.display = {
edid.packages = [ chip_edid ];
outputs = {
# For some reason, the internal display is sometimes eDP-1, and sometimes it's eDP-2
"eDP-1".edid = "16ach6h.bin";
"eDP-2".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