nixpkgs-suyu/pkgs/os-specific/linux/kernel/linux-zen.nix

31 lines
724 B
Nix
Raw Normal View History

{ 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 // {
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";
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 ];
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 { }))