Skip to content

Instantly share code, notes, and snippets.

@cransom
Created July 24, 2015 15:48
Show Gist options
  • Save cransom/e3dffea5ab33c6f06db1 to your computer and use it in GitHub Desktop.
Save cransom/e3dffea5ab33c6f06db1 to your computer and use it in GitHub Desktop.
nixpkgs.config.packageOverrides = pkgs: {
linux_4_1 = pkgs.linux_4_1.override {
kernelPatches = [
{ patch = /etc/nixos/mt-41.patch; name = "mt-41"; extraConfig = "I2C_DESIGNWARE_PLATFORM m"; }
{ patch = /etc/nixos/buttons-41.patch; name = "buttons-41"; }
{ patch = /etc/nixos/Add-Microsoft-Surface-Pro-3-camera-support.patch; name = "surfcam-41"; }
];
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment