mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	@@ -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";
 | 
			
		||||
  # 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";
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user