Skip to content

Instantly share code, notes, and snippets.

@cransom
Created June 25, 2016 22:09
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 cransom/b7417784aa61bc43fc4c3e4ee0d971f4 to your computer and use it in GitHub Desktop.
Save cransom/b7417784aa61bc43fc4c3e4ee0d971f4 to your computer and use it in GitHub Desktop.
boot.kernelPackages = pkgs.linuxPackages_4_6;
nixpkgs.config.packageOverrides = pkgs: {
linux_4_6 = pkgs.linux_4_6.override {
kernelPatches = [
{ patch = ./linux-surfacepro3/wifi.patch; name = "wifi"; }
{ patch = ./linux-surfacepro3/change-default-console-loglevel.patch; name = "loglevel"; }
{ patch = ./linux-surfacepro3/multitouch.patch; name = "multitouch"; }
{ patch = ./linux-surfacepro3/touchscreen_multitouch_fixes1.patch; name = "touchscreen1"; }
{ patch = ./linux-surfacepro3/touchscreen_multitouch_fixes2.patch; name = "touchscreen2"; }
];
extraConfig = ''
I2C_DESIGNWARE_PLATFORM m
X86_INTEL_LPSS y
'';
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment