diff options
author | Izorkin <Izorkin@gmail.com> | 2018-08-24 16:54:50 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2018-08-25 23:00:54 +0300 |
commit | 32c3cbdadd288a906f66c9828516868e71d21e63 (patch) | |
tree | 1c589c2073c9d2bb4cb36482b1f331dd0738f5ba /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | 3d1331f438b536f65fa4f5a07cbcb9eaaae8ce2f (diff) | |
download | nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.tar nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.tar.gz nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.tar.bz2 nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.tar.lz nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.tar.xz nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.tar.zst nixpkgs-32c3cbdadd288a906f66c9828516868e71d21e63.zip |
nftables: enable works in linux kernel 4.17 and 4.18
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 548c66e87e6..dd3186bc876 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -146,6 +146,14 @@ let # needed for iwd WPS support (wpa_supplicant replacement) KEY_DH_OPERATIONS = whenAtLeast "4.7" yes; + + # needed for nftables + NF_TABLES_INET = whenAtLeast "4.17" yes; + NF_TABLES_NETDEV = whenAtLeast "4.17" yes; + NF_TABLES_IPV4 = whenAtLeast "4.17" yes; + NF_TABLES_ARP = whenAtLeast "4.17" yes; + NF_TABLES_IPV6 = whenAtLeast "4.17" yes; + NF_TABLES_BRIDGE = whenAtLeast "4.17" yes; }; wireless = { |