parent
07e43b0530
commit
ed01236ece
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ...}:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
# This file was obtained from the display while "DDG" mode was enabled.
|
# This file was obtained from the display while "DDG" mode was enabled.
|
||||||
|
@ -11,5 +11,7 @@ in
|
||||||
hardware.firmware = [ chip_edid ];
|
hardware.firmware = [ chip_edid ];
|
||||||
|
|
||||||
boot.kernelParams = [ "drm.edid_firmware=edid/16ach6h.bin" ];
|
boot.kernelParams = [ "drm.edid_firmware=edid/16ach6h.bin" ];
|
||||||
boot.initrd.extraFiles."lib/firmware/edid/16ach6h.bin".source = pkgs.runCommandLocal "chip_edid" { } "cp ${./16ach6h.bin} $out";
|
# 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";
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue