diff options
-rw-r--r-- | modules/user/aszlig/system/kernel.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/user/aszlig/system/kernel.nix b/modules/user/aszlig/system/kernel.nix index b3d0d0ea..29ed3fe8 100644 --- a/modules/user/aszlig/system/kernel.nix +++ b/modules/user/aszlig/system/kernel.nix @@ -7,14 +7,22 @@ config = lib.mkIf config.vuizvui.user.aszlig.system.kernel.enable { boot = { - kernelPatches = lib.singleton (pkgs.vuizvui.kernel.bfqsched // { + kernelPatches = lib.singleton { + name = "bfq-v8r7"; + patch = pkgs.fetchpatch { + name = "bfq-v8r7.patch"; + url = "https://github.com/linusw/linux-bfq/compare/" + + "238d1d0f79f619d75c2cc741d6770fb0986aef24..." + + "eaa6f84b3c10985b01a1d7ff1a77fb5f43df714d.patch"; + sha256 = "1ir9m5smd82maipy7jjs4vmfsz18qz51gz3zy9gmmiaznm0i9llx"; + }; extraConfig = (pkgs.vuizvui.kernel.bfqsched.extraConfig or "") + '' IOSCHED_BFQ y DEFAULT_BFQ y DEFAULT_CFQ n DEFAULT_IOSCHED bfq ''; - }); + }; kernelPackages = let inherit (lib) take splitString replaceStrings; |