From 014f12b87e86de306fcb04f184ba933a64e4596e Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Tue, 9 Aug 2022 22:43:56 +0200 Subject: [PATCH] linux: disable NTFS_FS, enable NTFS3_LZX_XPRESS and NTFS3_FS_POSIX_ACL --- pkgs/os-specific/linux/kernel/common-config.nix | 4 ++++ pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index a859d7eea4f1..012b5811f7c4 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -394,6 +394,10 @@ let EXT4_FS_SECURITY = yes; EXT4_ENCRYPTION = option yes; + NTFS_FS = whenAtLeast "5.15" no; + NTFS3_LZX_XPRESS = whenAtLeast "5.15" yes; + NTFS3_FS_POSIX_ACL = whenAtLeast "5.15" yes; + REISERFS_FS_XATTR = option yes; REISERFS_FS_POSIX_ACL = option yes; REISERFS_FS_SECURITY = option yes; diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index e38db853ff45..9ccfe53f1b07 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -36,11 +36,6 @@ let # AMD P-state driver X86_AMD_PSTATE = yes; - # Paragon's NTFS3 driver - NTFS3_FS = module; - NTFS3_LZX_XPRESS = yes; - NTFS3_FS_POSIX_ACL = yes; - # Google's BBRv2 TCP congestion Control TCP_CONG_BBR2 = yes; DEFAULT_BBR2 = yes;