Enable retbleed newer mitigation and zen kernel

This commit is contained in:
coolneng 2023-03-17 00:19:05 +01:00
parent fa7359da55
commit 76b2e9949f
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ with pkgs;
{ {
# Kernel configuration # Kernel configuration
boot = { boot = {
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; kernelPackages = linuxPackages_zen;
kernelParams = [ kernelParams = [
"zfs.zfs_arc_max=2147483648" "zfs.zfs_arc_max=2147483648"
"zfs.zfs_arc_meta_limit_percent=90" "zfs.zfs_arc_meta_limit_percent=90"
@ -14,6 +14,7 @@ with pkgs;
"ipv6.disable=1" "ipv6.disable=1"
"ahci.mobile_lpm_policy=3" "ahci.mobile_lpm_policy=3"
"nmi_watchdog=0" "nmi_watchdog=0"
"retbleed=stuff"
]; ];
kernelModules = [ "i915" ]; kernelModules = [ "i915" ];
blacklistedKernelModules = [ "btusb" "bluetooth" ]; blacklistedKernelModules = [ "btusb" "bluetooth" ];