This commit is contained in:
mjallen18
2026-03-10 10:27:51 -05:00
parent cce8f2ea03
commit c13ce86810
4 changed files with 82 additions and 3 deletions

View File

@@ -52,6 +52,7 @@ let
ltsVersions = mkVersions (selectVariant versionSpec "lts" null);
rcVersions = mkVersions (selectVariant versionSpec "rc" null);
hardenedVersions = mkVersions (selectVariant versionSpec "hardened" null);
asahiVersions = mkVersions (selectVariant versionSpec "asahi" null);
# ######################################################
# Base LTO Config #
@@ -217,6 +218,31 @@ let
withNTSync = false;
withHDR = false;
};
# ######################################################
# Base Asahi Config #
# ######################################################
asahiAttrs = {
versions = asahiVersions;
# Asahi tracks the 6.18 series; use the LTS config base
taste = "linux-cachyos-asahi";
# Apple Silicon is aarch64-only; no x86 march tuning
mArch = null;
# NTSync and HDR are x86/display-stack features, not applicable here
withNTSync = false;
withHDR = false;
# Disable module building extras that don't apply to aarch64 targets
packagesExtend =
_kernel: _final: prev:
prev // { recurseForDerivations = false; };
description = "Linux EEVDF-BORE scheduler Kernel by CachyOS with Asahi Linux patches for Apple Silicon";
};
in
{
inherit
@@ -277,6 +303,16 @@ in
}
);
# Asahi GCC
cachyos-asahi = mkCachyKernel (
gccKernelAttrs
// asahiAttrs
// {
pname = "cachyos-asahi";
configPath = ./config-nix/${arch}-linux/cachyos-lts.${arch}-linux.nix;
}
);
# Deckify GCC
cachyos-deckify = mkCachyKernel (
gccKernelAttrs
@@ -346,6 +382,16 @@ in
}
);
# Asahi LTO
cachyos-asahi-lto = mkCachyKernel (
ltoKernelAttrs
// asahiAttrs
// {
pname = "cachyos-asahi-lto";
configPath = ./config-nix/${arch}-linux/cachyos-lts-lto.${arch}-linux.nix;
}
);
# RC LTO
cachyos-rc-lto = mkCachyKernel (
ltoKernelAttrs