Apply kernel patch for NFSv4 SELinux issue

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2023-11-03 20:12:03 +01:00
parent fd97d611f6
commit 366e2c34a3
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -17,6 +17,15 @@ in
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
boot = { boot = {
kernelPatches = [
{
name = "selinux-nfs4-patch";
patch = pkgs.fetchpatch {
url = "https://patchwork.kernel.org/project/selinux/patch/20230911142358.883728-1-omosnace@redhat.com/raw/";
hash = "sha256-m947t39xr4VqJBZ2mYTFq9Up/NWlwueH8aXFZRQwA7c=";
};
}
];
initrd.systemd.enable = true; initrd.systemd.enable = true;
initrd.availableKernelModules = [ initrd.availableKernelModules = [
"xhci_pci" "xhci_pci"