about summary refs log tree commit diff
path: root/modules/user/aszlig/system/kernel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/aszlig/system/kernel.nix')
-rw-r--r--modules/user/aszlig/system/kernel.nix12
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/user/aszlig/system/kernel.nix b/modules/user/aszlig/system/kernel.nix
index 25cff5c0..d0cdba84 100644
--- a/modules/user/aszlig/system/kernel.nix
+++ b/modules/user/aszlig/system/kernel.nix
@@ -9,17 +9,7 @@
     boot = {
       kernelPatches = lib.singleton {
         name = "bfq-v8r7";
-        patch = pkgs.fetchpatch {
-          name = "bfq-v8r7.patch";
-          url = "https://github.com/linusw/linux-bfq/compare/"
-              + "238d1d0f79f619d75c2cc741d6770fb0986aef24..."
-              + "eaa6f84b3c10985b01a1d7ff1a77fb5f43df714d.diff";
-          postFetch = ''
-            "${pkgs.patchutils}/bin/filterdiff" -x '[ab]/Makefile' "$out" > tmp
-            mv tmp "$out"
-          '';
-          sha256 = "1q108w6w5l4qdnicp01c4kb4rdgs2q34vh0gb5436hsj5diai69q";
-        };
+        patch = ./bfq.patch;
         extraConfig = (pkgs.vuizvui.kernel.bfqsched.extraConfig or "") + ''
           IOSCHED_BFQ y
           DEFAULT_BFQ y