19 lines
537 B
Nix
19 lines
537 B
Nix
{ stdenv, fetchurl, ... } @ args:
|
|
|
|
import ./generic.nix (args // rec {
|
|
version = "4.0.4";
|
|
# Remember to update grsecurity!
|
|
extraMeta.branch = "4.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
sha256 = "1j5l87z6gd05cqzg680id0x1nk38kd6sjffd2lifl0fz5k6iqr9h";
|
|
};
|
|
|
|
features.iwlwifi = true;
|
|
features.efiBootStub = true;
|
|
features.needsCifsUtils = true;
|
|
features.canDisableNetfilterConntrackHelpers = true;
|
|
features.netfilterRPFilter = true;
|
|
} // (args.argsOverride or {}))
|