diff --git a/modules/kernel.nix b/modules/kernel.nix index e082655..269633f 100644 --- a/modules/kernel.nix +++ b/modules/kernel.nix @@ -41,7 +41,7 @@ pkgs.linuxKernel.packagesFor( pkgs.cachyosKernels.linux-cachyos-latest.override { bbr3 = true; - cpusched = "eevdf"; # / "bore" + cpusched = "bore"; lto = if isLaptop then "thin" else "full"; processorOpt = if isLaptop then "zen4" else "x86_64-v3"; tickrate = if isLaptop then "idle" else "full"; @@ -49,19 +49,12 @@ ) ); - 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"; - } - ]; + boot.kernelPatches = [ ]; services.scx = { # https://wiki.cachyos.org/configuration/sched-ext/#general-recommendations - enable = true; # Disable this to use the infinity scheduler - scheduler = "scx_flow"; - extraArgs = [ "--no-webui" ]; + enable = true; + scheduler = "scx_lavd"; + extraArgs = [ "--${if isLaptop then "autopower" else "performance"}" ]; package = (functions.mkUnstable pkgs.scx.rustscheds).overrideAttrs (old: { buildInputs = old.buildInputs ++ [ pkgs.openssl /* <-- TODO: Remove when the package gets updated */ ]; diff --git a/tamal/manifest.kdl b/tamal/manifest.kdl index 3d14493..4f5450b 100644 --- a/tamal/manifest.kdl +++ b/tamal/manifest.kdl @@ -199,15 +199,6 @@ inputs { 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 catppuccin-godot {