This commit is contained in:
Tao Tien 2024-05-16 03:51:55 -07:00
parent 8f681ffbac
commit 913d061549
5 changed files with 31 additions and 22 deletions

View file

@ -4,16 +4,16 @@
pkgs,
...
}: {
boot.kernelPatches = [
(lib.mkIf (lib.versionOlder pkgs.linuxPackages_latest.kernel.version "6.9")
{
name = "cros_ec_lpc";
patch = pkgs.fetchpatch {
url = "https://patchwork.kernel.org/series/840830/mbox/";
sha256 = "sha256-7jSEAGInFC+a+ozCyD4dFz3Qgh2JrHskwz7UfswizFw=";
};
})
];
# boot.kernelPatches = [
# (lib.mkIf (lib.versionOlder pkgs.linuxPackages_latest.kernel.version "6.9")
# {
# name = "cros_ec_lpc";
# patch = pkgs.fetchpatch {
# url = "https://patchwork.kernel.org/series/840830/mbox/";
# sha256 = "sha256-7jSEAGInFC+a+ozCyD4dFz3Qgh2JrHskwz7UfswizFw=";
# };
# })
# ];
# nixpkgs.overlays = [
# (final: prev: {
# libinput = prev.libinput.overrideAttrs (old: {