From 120cdb4d52a38864ec5a07969f69e787d8f533d8 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Wed, 6 Nov 2024 20:33:09 +1000
Subject: [PATCH] modules/nixos/builder: add io_uring kernel patch

---
 modules/nixos/builder.nix | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/modules/nixos/builder.nix b/modules/nixos/builder.nix
index d6e1061..92fb03c 100644
--- a/modules/nixos/builder.nix
+++ b/modules/nixos/builder.nix
@@ -26,4 +26,14 @@
       value = "20480";
     }
   ];
+
+  boot.kernelPatches = [
+    {
+      patch = pkgs.fetchpatch {
+        url = "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/patch/?id=8d09a88ef9d3cb7d21d45c39b7b7c31298d23998";
+        hash = "sha256-PCHSnsF0Vrd2nOKbDApyozLu8OUXw/6u6MrGkAWVAYc=";
+      };
+    }
+  ];
+
 }