diff --git a/lenovo/legion/15ach6h/edid/16ach6h.bin b/lenovo/legion/15ach6h/edid/16ach6h.bin deleted file mode 100644 index 8725613..0000000 Binary files a/lenovo/legion/15ach6h/edid/16ach6h.bin and /dev/null differ diff --git a/lenovo/legion/15ach6h/edid/default.nix b/lenovo/legion/15ach6h/edid/default.nix deleted file mode 100644 index 52d6ee6..0000000 --- a/lenovo/legion/15ach6h/edid/default.nix +++ /dev/null @@ -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"; -} diff --git a/lenovo/legion/15ach6h/hybrid/default.nix b/lenovo/legion/15ach6h/hybrid/default.nix index 678566b..b9070fb 100644 --- a/lenovo/legion/15ach6h/hybrid/default.nix +++ b/lenovo/legion/15ach6h/hybrid/default.nix @@ -8,7 +8,6 @@ ../../../../common/gpu/nvidia/prime.nix ../../../../common/pc/laptop ../../../../common/pc/laptop/ssd - ../edid ]; # Still needs to load at some point if we want X11 to work