28 lines
664 B
Nix
28 lines
664 B
Nix
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
|
|
|
|
let
|
|
version = "4.12.4";
|
|
revision = "a";
|
|
sha256 = "1c6fin95ppl7lj09vr3vxfwxgf3db15wyncvq07b675fpkdx0nnx";
|
|
in
|
|
|
|
import ./generic.nix (args // {
|
|
version = "${version}-${revision}";
|
|
extraMeta.branch = "4.12";
|
|
modDirVersion = "${version}";
|
|
|
|
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 {}))
|