try zen kernel

This commit is contained in:
cy 2025-01-21 01:09:38 -05:00
parent 3a415ccce9
commit 40addb8f90
3 changed files with 11 additions and 1 deletions

View file

@ -41,7 +41,7 @@
efi.canTouchEfiVariables = false; # toggle when installing
};
tmp.cleanOnBoot = true;
kernelPackages = pkgs.linuxPackages_6_12;
kernelPackages = pkgs.linuxPackages_zen;
extraModulePackages = with config.boot.kernelPackages; [
rtl8821ce
];

View file

@ -2,6 +2,7 @@ let
overlays = [
./conduwuit
./attic
./kernel.nix
];
importedOverlays = map (m: import m) overlays;
in

9
overlay/kernel.nix Normal file
View file

@ -0,0 +1,9 @@
final: prev: let
inherit (prev) lib;
in {
linux_zen = prev.linux_zen.override (old: {
extraStructuredConfig = with lib.kernel; {
CONFIG_SCHED_MUQSS = yes;
};
});
}