removed edid

This commit is contained in:
yuannan 2024-03-10 19:50:23 +00:00 committed by mergify[bot]
parent a7825c5b9a
commit f3b959627b
3 changed files with 0 additions and 18 deletions

View file

@ -1,17 +0,0 @@
{ pkgs, ... }:
let
# This file was obtained from the display while "DDG" mode was enabled.
chip_edid = pkgs.runCommandNoCC "chip_edid" { } ''
mkdir -p $out/lib/firmware/edid
cp ${./15ach6h.bin} $out/lib/firmware/edid/15ach6h.bin
'';
in
{
hardware.firmware = [ chip_edid ];
boot.kernelParams = [ "drm.edid_firmware=edid/15ach6h.bin" ];
# 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/15ach6h.bin".source = pkgs.runCommandLocal "chip_edid" { } "cp ${./15ach6h.bin} $out";
}

View file

@ -8,7 +8,6 @@
../../../../common/gpu/nvidia/prime.nix ../../../../common/gpu/nvidia/prime.nix
../../../../common/pc/laptop ../../../../common/pc/laptop
../../../../common/pc/laptop/ssd ../../../../common/pc/laptop/ssd
../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