mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-09 20:49:40 +01:00
16ach6h: Use the hardware.display module
This commit is contained in:
parent
d3600fc296
commit
1c84c314db
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
boot.kernelParams = [ "drm.edid_firmware=eDP-1:edid/16ach6h.bin,eDP-2:edid/16ach6h.bin" ];
|
||||
"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
|
||||
|
|
Loading…
Reference in a new issue