Enable retbleed newer mitigation and zen kernel
This commit is contained in:
parent
fa7359da55
commit
76b2e9949f
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in New Issue