From 754c781ad206381c314ba663db0afb6ff466ea69 Mon Sep 17 00:00:00 2001 From: chn Date: Tue, 1 Apr 2025 22:58:10 +0800 Subject: [PATCH] modules.system.kernel: remove lantian patch --- modules/system/kernel.nix | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/modules/system/kernel.nix b/modules/system/kernel.nix index 60ac03c5..89ee0918 100644 --- a/modules/system/kernel.nix +++ b/modules/system/kernel.nix @@ -46,32 +46,7 @@ inputs: cachyos = inputs.pkgs.linuxPackages_cachyos; cachyos-lts = inputs.pkgs.linuxPackages_cachyos_lts; }.${kernel.variant}; - kernelPatches = - let - patches = - { - lantian = - [{ - name = "lantian"; - patch = null; - # pick from xddxdd/nur-packages dce93a - extraStructuredConfig = with inputs.lib.kernel; - { - ACPI_PCI_SLOT = yes; - ENERGY_MODEL = yes; - PARAVIRT_TIME_ACCOUNTING = yes; - PM_AUTOSLEEP = yes; - WQ_POWER_EFFICIENT_DEFAULT = yes; - PREEMPT_VOLUNTARY = inputs.lib.mkForce no; - PREEMPT = inputs.lib.mkForce yes; - NO_HZ_FULL = yes; - HZ_1000 = inputs.lib.mkForce yes; - HZ_250 = inputs.lib.mkForce no; - HZ = inputs.lib.mkForce (freeform "1000"); - }; - }]; - }; - in builtins.concatLists (builtins.map (name: patches.${name}) kernel.patches); + kernelPatches = let patches = {}; in builtins.concatLists (builtins.map (name: patches.${name}) kernel.patches); }; } # enable scx when using cachyos