2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, buildLinux, ... } @ args:
|
2020-07-27 18:31:44 +02:00
|
|
|
|
|
|
|
let
|
2021-07-31 21:46:16 +02:00
|
|
|
version = "5.13.7";
|
2021-07-14 19:59:37 +02:00
|
|
|
suffix = "zen1";
|
2020-07-27 18:31:44 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
buildLinux (args // {
|
2021-01-18 10:45:22 +01:00
|
|
|
modDirVersion = "${version}-${suffix}";
|
2020-07-27 18:31:44 +02:00
|
|
|
inherit version;
|
2020-10-29 09:15:05 +01:00
|
|
|
isZen = true;
|
2020-07-27 18:31:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zen-kernel";
|
|
|
|
repo = "zen-kernel";
|
2021-01-18 10:45:22 +01:00
|
|
|
rev = "v${version}-${suffix}";
|
2021-07-31 21:46:16 +02:00
|
|
|
sha256 = "sha256-ZvB5Ejt9MXP4QK5cj9CGQgFJIfDV03IW5xcknCxDui0=";
|
2020-07-27 18:31:44 +02:00
|
|
|
};
|
|
|
|
|
2021-07-31 22:59:41 +02:00
|
|
|
structuredExtraConfig = with lib.kernel; {
|
|
|
|
ZEN_INTERACTIVE = yes;
|
|
|
|
};
|
|
|
|
|
2020-07-27 18:31:44 +02:00
|
|
|
extraMeta = {
|
2021-07-31 21:46:16 +02:00
|
|
|
branch = "5.13";
|
2021-01-15 15:45:37 +01:00
|
|
|
maintainers = with lib.maintainers; [ atemu andresilva ];
|
2020-12-26 13:30:53 +01:00
|
|
|
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
|
2020-07-27 18:31:44 +02:00
|
|
|
};
|
|
|
|
|
2021-06-08 16:22:28 +02:00
|
|
|
} // (args.argsOverride or { }))
|