From ed01236ece433b5fe96ebd7fe104f18f790aa066 Mon Sep 17 00:00:00 2001 From: 4JX <79868816+4JX@users.noreply.github.com> Date: Fri, 19 Jan 2024 19:46:38 +0100 Subject: [PATCH] 16ach6h: Comment out failing edid line Fixes #795 --- lenovo/legion/16ach6h/edid/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lenovo/legion/16ach6h/edid/default.nix b/lenovo/legion/16ach6h/edid/default.nix index ec77c24..81c44d5 100644 --- a/lenovo/legion/16ach6h/edid/default.nix +++ b/lenovo/legion/16ach6h/edid/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ...}: +{ pkgs, ... }: let # This file was obtained from the display while "DDG" mode was enabled. @@ -11,5 +11,7 @@ in hardware.firmware = [ chip_edid ]; 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"; -} \ No newline at end of file + # 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"; +}