Add handheld patches for deckify kernel

This commit is contained in:
Lan Tian 2025-12-28 02:39:23 -08:00
parent 9f04a1fade
commit 5e9dafb25c
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B
2 changed files with 8 additions and 0 deletions

View File

@ -66,12 +66,16 @@ builtins.listToAttrs (
pname = "linux-cachyos-deckify"; pname = "linux-cachyos-deckify";
inherit (linux_latest) version src; inherit (linux_latest) version src;
configVariant = "linux-cachyos-deckify"; configVariant = "linux-cachyos-deckify";
acpiCall = true;
handheld = true;
}) })
(mkCachyKernel { (mkCachyKernel {
pname = "linux-cachyos-deckify-lto"; pname = "linux-cachyos-deckify-lto";
inherit (linux_latest) version src; inherit (linux_latest) version src;
configVariant = "linux-cachyos-deckify"; configVariant = "linux-cachyos-deckify";
lto = "thin"; lto = "thin";
acpiCall = true;
handheld = true;
}) })
(mkCachyKernel { (mkCachyKernel {
pname = "linux-cachyos-eevdf"; pname = "linux-cachyos-eevdf";

View File

@ -43,6 +43,8 @@ lib.makeOverridable (
# CachyOS additional patch settings # CachyOS additional patch settings
hardened ? false, hardened ? false,
rt ? false, rt ? false,
acpiCall ? false,
handheld ? false,
# Build as much components as possible as kernel modules, including disabled ones. # Build as much components as possible as kernel modules, including disabled ones.
# This can enable unexpected modules, such as nova_core. # This can enable unexpected modules, such as nova_core.
@ -72,6 +74,8 @@ lib.makeOverridable (
++ (lib.optional (cpusched == "bmq") "sched/0001-prjc-cachy.patch") ++ (lib.optional (cpusched == "bmq") "sched/0001-prjc-cachy.patch")
++ (lib.optional hardened "misc/0001-hardened.patch") ++ (lib.optional hardened "misc/0001-hardened.patch")
++ (lib.optional rt "misc/0001-rt-i915.patch") ++ (lib.optional rt "misc/0001-rt-i915.patch")
++ (lib.optional acpiCall "misc/0001-acpi-call.patch")
++ (lib.optional handheld "misc/0001-handheld.patch")
); );
# buildLinux doesn't accept postPatch, so adding config file early here # buildLinux doesn't accept postPatch, so adding config file early here