{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args: let version = "4.12.8"; revision = "a"; sha256 = "03ldbgs4w70q756bl5gsxr2z428njnlslh6293y34r54gz5li9a3"; in import ./generic.nix (args // { version = "${version}-${revision}"; extraMeta.branch = "4.12"; modDirVersion = "${version}-hardened"; src = fetchFromGitHub { inherit sha256; owner = "copperhead"; repo = "linux-hardened"; rev = "${version}.${revision}"; }; kernelPatches = args.kernelPatches; features.iwlwifi = true; features.efiBootStub = true; features.needsCifsUtils = true; features.netfilterRPFilter = true; } // (args.argsOverride or {}))