This commit is contained in:
mjallen18
2026-03-13 13:38:53 -05:00
parent 3862a6b651
commit 9737b3af9f
8 changed files with 17 additions and 215 deletions

View File

@@ -55,7 +55,6 @@ 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 #
@@ -221,34 +220,6 @@ 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;
# Enable Rust — required for DRM_ASAHI (AGX GPU) and APPLE_SEP
withRust = true;
# 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
@@ -309,16 +280,6 @@ 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
@@ -388,16 +349,6 @@ 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