diff options
author | Tim Steinbach <tim@nequissimus.com> | 2017-05-25 18:25:08 -0400 |
---|---|---|
committer | Tim Steinbach <tim@nequissimus.com> | 2017-05-25 18:25:08 -0400 |
commit | 690a83091bd0e10ce7c70b081c861a6ff2a6d532 (patch) | |
tree | 8ae779ae9cd023b632a6782ce83799fbfdc1a538 /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | 8f0ca4f44ae9545c3a1b2a104c6958864834e717 (diff) |
linux: FS_ENCRYPTION only for >= 4.9 kernels
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index cd71d563a2fd9..1dc161cca54f8 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -238,7 +238,9 @@ with stdenv.lib; FANOTIFY y TMPFS y TMPFS_POSIX_ACL y - FS_ENCRYPTION? m + ${optionalString (versionAtLeast version "4.9") '' + FS_ENCRYPTION? m + ''} EXT2_FS_XATTR y EXT2_FS_POSIX_ACL y EXT2_FS_SECURITY y |