Switch to lqx kernel

This commit is contained in:
Nathan McCarty 2023-01-13 17:26:12 -05:00
parent da03f45f42
commit 9a9f315629
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 3 additions and 8 deletions

View File

@ -22,14 +22,9 @@ with lib; {
}) })
(mkIf ((!config.nathan.config.harden) && config.nathan.config.isDesktop) { (mkIf ((!config.nathan.config.harden) && config.nathan.config.isDesktop) {
# Use the zen kernel with muqss turned on # Use the zen kernel with muqss turned on
boot.kernelPackages = let boot.kernelPackages =
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}; let unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system};
linuxZenWMuQSS = unstable.linuxPackagesFor in unstable.linuxKernel.packages.linux_lqx;
(unstable.linuxPackages_zen.kernel.override {
structuredExtraConfig = with lib.kernel; { SCHED_MUQSS = yes; };
ignoreConfigErrors = true;
});
in linuxZenWMuQSS;
}) })
(mkIf (config.nathan.config.nix.autoUpdate && pkgs.stdenv.isLinux) { (mkIf (config.nathan.config.nix.autoUpdate && pkgs.stdenv.isLinux) {
# Auto update daily at 2 am # Auto update daily at 2 am