Remove infinity-scheduler, use scx_lavd

This commit is contained in:
Username404-59 2026-07-01 23:43:35 +02:00
parent 3e9f4db22f
commit 9b332d1f34
Signed by: Username404-59
GPG Key ID: F3A1878B14F5F0D7
2 changed files with 5 additions and 21 deletions

View File

@ -41,7 +41,7 @@
pkgs.linuxKernel.packagesFor( pkgs.linuxKernel.packagesFor(
pkgs.cachyosKernels.linux-cachyos-latest.override { pkgs.cachyosKernels.linux-cachyos-latest.override {
bbr3 = true; bbr3 = true;
cpusched = "eevdf"; # / "bore" cpusched = "bore";
lto = if isLaptop then "thin" else "full"; lto = if isLaptop then "thin" else "full";
processorOpt = if isLaptop then "zen4" else "x86_64-v3"; processorOpt = if isLaptop then "zen4" else "x86_64-v3";
tickrate = if isLaptop then "idle" else "full"; tickrate = if isLaptop then "idle" else "full";
@ -49,19 +49,12 @@
) )
); );
boot.kernelPatches = [ boot.kernelPatches = [ ];
{
name = "infinity-scheduler";
patch = "${nixtamal.infinity-scheduler}/patches/stable/linux-${
lib.versions.majorMinor config.boot.kernelPackages.kernel.version
}-infinity/0001-infinity-scheduler.patch";
}
];
services.scx = { # https://wiki.cachyos.org/configuration/sched-ext/#general-recommendations services.scx = { # https://wiki.cachyos.org/configuration/sched-ext/#general-recommendations
enable = true; # Disable this to use the infinity scheduler enable = true;
scheduler = "scx_flow"; scheduler = "scx_lavd";
extraArgs = [ "--no-webui" ]; extraArgs = [ "--${if isLaptop then "autopower" else "performance"}" ];
package = (functions.mkUnstable pkgs.scx.rustscheds).overrideAttrs (old: { package = (functions.mkUnstable pkgs.scx.rustscheds).overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.openssl /* <-- TODO: Remove when the package gets updated */ ]; buildInputs = old.buildInputs ++ [ pkgs.openssl /* <-- TODO: Remove when the package gets updated */ ];

View File

@ -199,15 +199,6 @@ inputs {
url "https://patch-diff.githubusercontent.com/raw/ilya-zlobintsev/LACT/pull/1080.patch" url "https://patch-diff.githubusercontent.com/raw/ilya-zlobintsev/LACT/pull/1080.patch"
} }
} }
infinity-scheduler {
archive {
url "https://github.com/galpt/infinity-scheduler/archive/{{fresh_value}}.tar.gz"
}
fresh-cmd {
$ git ls-remote --branches "https://github.com/galpt/infinity-scheduler.git" --refs "refs/heads/v4"
| cut -f1
}
}
// Others // Others
catppuccin-godot { catppuccin-godot {