mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
16ach6h: Use the hardware.display module
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user