remove nfs patch

This commit is contained in:
Kabbone 2023-09-22 19:28:04 +02:00
parent afd2b6a63d
commit 9be97a42d4
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -1,17 +0,0 @@
{ lib, config, pkgs, ... }:
# NFSv4 fix for 6.5.3 and 6.1.53, remove asap
let
version = config.boot.kernelPackages.kernel.version;
badVersions = [ "6.5.3" "6.1.53" ];
in
lib.mkIf (lib.any (v: v == version) badVersions) {
boot.kernelPatches = [{
name = "nfs4-patch";
patch = pkgs.fetchpatch {
url = "https://patchwork.kernel.org/project/selinux/patch/20230911142358.883728-1-omosnace@redhat.com/raw/";
hash = "sha256-m947t39xr4VqJBZ2mYTFq9Up/NWlwueH8aXFZRQwA7c=";
};
}];
}