{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args: let version = "4.12"; revision = "d"; sha256 = "1glhqk6py8wkv291fh57r4z5hbiymzkhr8cqrh3r97yni2zs6lj4"; in import ./generic.nix (args // { version = "${version}-${revision}"; extraMeta.branch = "4.12"; modDirVersion = "${version}.0"; 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 {}))