From d91219fabf254fa6eb75330db19c306676ca337d Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Tue, 23 Dec 2025 21:30:03 -0800 Subject: [PATCH] Add linux-cachyos-rc variants --- README.md | 2 ++ kernel-cachyos/default.nix | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 2888869..4488b11 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ This repo provides the following kernel variants, consistent with the [upstream ├───linux-cachyos-eevdf-lto ├───linux-cachyos-hardened ├───linux-cachyos-hardened-lto + ├───linux-cachyos-rc + ├───linux-cachyos-rc-lto ├───linux-cachyos-rt-bore ├───linux-cachyos-rt-bore-lto ├───linux-cachyos-server diff --git a/kernel-cachyos/default.nix b/kernel-cachyos/default.nix index 57a484e..114b63f 100644 --- a/kernel-cachyos/default.nix +++ b/kernel-cachyos/default.nix @@ -3,6 +3,7 @@ callPackage, lib, linux_latest, + linux_testing, linux, ... }: @@ -105,6 +106,18 @@ builtins.listToAttrs ( hardened = true; lto = true; }) + (mkCachyKernel { + pname = "linux-cachyos-rc"; + inherit (linux_testing) version src; + configVariant = "linux-cachyos-rc"; + lto = false; + }) + (mkCachyKernel { + pname = "linux-cachyos-rc-lto"; + inherit (linux_testing) version src; + configVariant = "linux-cachyos-rc"; + lto = true; + }) (mkCachyKernel { pname = "linux-cachyos-rt-bore"; inherit (linux_latest) version src;