nixpkgs-suyu/pkgs/os-specific/linux/kernel/linux-zen.nix
2021-02-24 11:39:47 +01:00

26 lines
653 B
Nix

{ lib, fetchFromGitHub, buildLinux, ... } @ args:
let
version = "5.11.1";
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 = "10xpb6r1ccqy2lsndf16dksi40z1cgm3wqjp3yjwzhad8zdjlm5d";
};
extraMeta = {
branch = "5.10/master";
maintainers = with lib.maintainers; [ atemu andresilva ];
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
};
} // (args.argsOverride or {}))