diff --git a/lenovo/legion/16ach6h/edid/default.nix b/lenovo/legion/16ach6h/edid/default.nix index 481d1f5c3..481ddd232 100644 --- a/lenovo/legion/16ach6h/edid/default.nix +++ b/lenovo/legion/16ach6h/edid/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, options, ... }: let # This file was obtained from the display while "DDG" mode was enabled. @@ -7,7 +7,7 @@ let cp ${./16ach6h.bin} $out/lib/firmware/edid/16ach6h.bin ''; in -{ +lib.optionalAttrs (options ? hardware.display) { hardware.display = { edid.packages = [ chip_edid ];