linux_xanmod: init at 5.11.10
This commit is contained in:
parent
caffc13ce4
commit
6ce986c934
2 changed files with 37 additions and 0 deletions
27
pkgs/os-specific/linux/kernel/linux-xanmod.nix
Normal file
27
pkgs/os-specific/linux/kernel/linux-xanmod.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
|
||||
|
||||
let
|
||||
version = "5.11.10";
|
||||
suffix = "xanmod1-cacule";
|
||||
in
|
||||
buildLinux (args // rec {
|
||||
modDirVersion = "${version}-${suffix}";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xanmod";
|
||||
repo = "linux";
|
||||
rev = modDirVersion;
|
||||
sha256 = "sha256-Pn1rX61mA8FEt5G1GppK/YyzXnB+hdm5pWh/4swQ4VE=";
|
||||
extraPostFetch = ''
|
||||
rm $out/.config
|
||||
'';
|
||||
};
|
||||
|
||||
extraMeta = {
|
||||
branch = "5.11";
|
||||
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.hostPlatform.isAarch64;
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
|
@ -19152,6 +19152,13 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
linux_xanmod = callPackage ../os-specific/linux/kernel/linux-xanmod.nix {
|
||||
kernelPatches = [
|
||||
kernelPatches.bridge_stp_helper
|
||||
kernelPatches.request_key_helper
|
||||
];
|
||||
};
|
||||
|
||||
/* Linux kernel modules are inherently tied to a specific kernel. So
|
||||
rather than provide specific instances of those packages for a
|
||||
specific kernel, we have a function that builds those packages
|
||||
|
@ -19466,6 +19473,9 @@ in
|
|||
linuxPackages_zen = recurseIntoAttrs (linuxPackagesFor pkgs.linux_zen);
|
||||
linuxPackages_lqx = recurseIntoAttrs (linuxPackagesFor pkgs.linux_lqx);
|
||||
|
||||
# XanMod kernel
|
||||
linuxPackages_xanmod = recurseIntoAttrs (linuxPackagesFor pkgs.linux_xanmod);
|
||||
|
||||
# A function to build a manually-configured kernel
|
||||
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});
|
||||
|
||||
|
|
Loading…
Reference in a new issue