From 76b2e9949f44f74d4ba789bd170d3b1d8a364244 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 17 Mar 2023 00:19:05 +0100 Subject: [PATCH] Enable retbleed newer mitigation and zen kernel --- configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 0c8eb74..c9db256 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,7 +5,7 @@ with pkgs; { # Kernel configuration boot = { - kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + kernelPackages = linuxPackages_zen; kernelParams = [ "zfs.zfs_arc_max=2147483648" "zfs.zfs_arc_meta_limit_percent=90" @@ -14,6 +14,7 @@ with pkgs; "ipv6.disable=1" "ahci.mobile_lpm_policy=3" "nmi_watchdog=0" + "retbleed=stuff" ]; kernelModules = [ "i915" ]; blacklistedKernelModules = [ "btusb" "bluetooth" ];