Skip to content

Instantly share code, notes, and snippets.

@FruitieX
Created May 15, 2018 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FruitieX/4a1e2bc9f6f684e096e08162194cf14e to your computer and use it in GitHub Desktop.
Save FruitieX/4a1e2bc9f6f684e096e08162194cf14e to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "customEdid";
src = ./1920x1080.bin;
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/lib/firmware
cp ${src} $out/lib/firmware
'';
meta = {
description = "Custom EDID for forcing 120 Hz refresh rate on Asus G53-SX";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment