diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 13a1cb4c4206..cca6a8d1cfad 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -11,6 +11,12 @@ let hash = "sha256-UPLwaEWhBu1yriCUJu9L/B8yy+1zxnTQzHaKlT507UY="; }; + ttVariant = { + version = "5.15.54"; + suffix = "xanmod1-tt"; + hash = "sha256-4ck9PAFuIt/TxA/U+moGlVfCudJnzSuAw7ooFG3OJis="; + }; + xanmodKernelFor = { version, suffix ? "xanmod1", hash }: buildLinux (args // rec { inherit version; modDirVersion = "${version}-${suffix}"; @@ -73,4 +79,5 @@ in { lts = xanmodKernelFor ltsVariant; edge = xanmodKernelFor edgeVariant; + tt = xanmodKernelFor ttVariant; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 49772490ff0f..a6196bb06830 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23799,6 +23799,8 @@ with pkgs; linux_xanmod = linuxKernel.kernels.linux_xanmod; linuxPackages_xanmod_latest = linuxKernel.packages.linux_xanmod_latest; linux_xanmod_latest = linuxKernel.kernels.linux_xanmod_latest; + linuxPackages_xanmod_tt = linuxKernel.packages.linux_xanmod_tt; + linux_xanmod_tt = linuxKernel.kernels.linux_xanmod_tt; linux-doc = callPackage ../os-specific/linux/kernel/htmldocs.nix { }; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 3983ff979e6d..63a95038471c 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -218,7 +218,7 @@ in { ]; }).lqx; - # This contains both the LTS and EDGE variants of the XanMod kernel + # This contains the variants of the XanMod kernel xanmodKernels = callPackage ../os-specific/linux/kernel/xanmod-kernels.nix; linux_xanmod = (xanmodKernels { @@ -235,6 +235,13 @@ in { ]; }).edge; + linux_xanmod_tt = (xanmodKernels { + kernelPatches = [ + kernelPatches.bridge_stp_helper + kernelPatches.request_key_helper + ]; + }).tt; + linux_libre = deblobKernel packageAliases.linux_default.kernel; linux_latest_libre = deblobKernel packageAliases.linux_latest.kernel; @@ -564,6 +571,7 @@ in { linux_lqx = recurseIntoAttrs (packagesFor kernels.linux_lqx); linux_xanmod = recurseIntoAttrs (packagesFor kernels.linux_xanmod); linux_xanmod_latest = recurseIntoAttrs (packagesFor kernels.linux_xanmod_latest); + linux_xanmod_tt = recurseIntoAttrs (packagesFor kernels.linux_xanmod_tt); hardkernel_4_14 = recurseIntoAttrs (packagesFor kernels.linux_hardkernel_4_14);