nixpkgs-suyu/pkgs/os-specific/linux/kernel/linux-hardened-copperhead.nix

28 lines
673 B
Nix
Raw Normal View History

2017-06-28 22:32:25 +02:00
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let
2017-08-18 21:47:03 +02:00
version = "4.12.8";
2017-07-13 14:40:08 +02:00
revision = "a";
2017-08-18 21:47:03 +02:00
sha256 = "03ldbgs4w70q756bl5gsxr2z428njnlslh6293y34r54gz5li9a3";
in
import ./generic.nix (args // {
version = "${version}-${revision}";
2017-07-06 17:42:20 +02:00
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 {}))