Skip to content

Instantly share code, notes, and snippets.

@FruitieX
Created May 15, 2018 13:43
Show Gist options
  • Select an option

  • Save FruitieX/4a1e2bc9f6f684e096e08162194cf14e to your computer and use it in GitHub Desktop.

Select an option

Save FruitieX/4a1e2bc9f6f684e096e08162194cf14e to your computer and use it in GitHub Desktop.

Revisions

  1. FruitieX created this gist May 15, 2018.
    18 changes: 18 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    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";
    };
    }