server-lto

This commit is contained in:
mjallen18
2025-12-11 21:25:50 -06:00
parent 2e4b629805
commit a273c701ab
2 changed files with 9 additions and 1 deletions

View File

@@ -23,7 +23,6 @@
"CONFIG_IRQ_WORK" = "y"; "CONFIG_IRQ_WORK" = "y";
"CONFIG_BUILDTIME_TABLE_SORT" = "y"; "CONFIG_BUILDTIME_TABLE_SORT" = "y";
"CONFIG_THREAD_INFO_IN_TASK" = "y"; "CONFIG_THREAD_INFO_IN_TASK" = "y";
"CONFIG_CACHY" = "y";
"CONFIG_INIT_ENV_ARG_LIMIT" = "32"; "CONFIG_INIT_ENV_ARG_LIMIT" = "32";
"CONFIG_LOCALVERSION" = ""; "CONFIG_LOCALVERSION" = "";
"CONFIG_LOCALVERSION_AUTO" = "y"; "CONFIG_LOCALVERSION_AUTO" = "y";

View File

@@ -64,6 +64,15 @@ let
serverLtoKernelAttrs = { serverLtoKernelAttrs = {
taste = "linux-cachyos-server"; taste = "linux-cachyos-server";
configPath = ./config-nix/cachyos-server-lto.x86_64-linux.nix; configPath = ./config-nix/cachyos-server-lto.x86_64-linux.nix;
basicCachy = false;
cpuSched = "eevdf";
ticksHz = 300;
tickRate = "idle";
preempt = "server";
hugePages = "madvise";
withDAMON = true;
withNTSync = false;
withHDR = false;
# Pass the unified arguments (including the resolved 'self') to llvm-pkgs # Pass the unified arguments (including the resolved 'self') to llvm-pkgs
inherit (import ./lib/llvm-pkgs.nix (args // { inherit self; })) callPackage; inherit (import ./lib/llvm-pkgs.nix (args // { inherit self; })) callPackage;