nixpkgs-suyu/pkgs/os-specific/linux/kernel/linux-zen.nix
2021-07-31 23:02:07 +02:00

30 lines
724 B
Nix

{ lib, fetchFromGitHub, buildLinux, ... } @ args:
let
version = "5.13.7";
suffix = "zen1";
in
buildLinux (args // {
modDirVersion = "${version}-${suffix}";
inherit version;
isZen = true;
src = fetchFromGitHub {
owner = "zen-kernel";
repo = "zen-kernel";
rev = "v${version}-${suffix}";
sha256 = "sha256-ZvB5Ejt9MXP4QK5cj9CGQgFJIfDV03IW5xcknCxDui0=";
};
structuredExtraConfig = with lib.kernel; {
ZEN_INTERACTIVE = yes;
};
extraMeta = {
branch = "5.13";
maintainers = with lib.maintainers; [ atemu andresilva ];
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
};
} // (args.argsOverride or { }))