3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel/linux-xanmod.nix
2021-06-26 20:24:54 +08:00

31 lines
824 B
Nix

{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
let
version = "5.12.13";
suffix = "xanmod1-cacule";
in
buildLinux (args // rec {
inherit version;
modDirVersion = "${version}-${suffix}";
src = fetchFromGitHub {
owner = "xanmod";
repo = "linux";
rev = modDirVersion;
sha256 = "sha256-eFIWlguU1hnkAgTbRxSMTStq0X7XW4IT1/9XlQSgdMQ=";
};
structuredExtraConfig = with lib.kernel; {
PREEMPT = lib.mkForce yes;
PREEMPT_VOLUNTARY = lib.mkForce no;
NO_HZ_FULL = yes;
};
extraMeta = {
branch = "5.12-cacule";
maintainers = with lib.maintainers; [ fortuneteller2k ];
description = "Built with custom settings and new features built to provide a stable, responsive and smooth desktop experience";
broken = stdenv.isAarch64;
};
} // (args.argsOverride or { }))