From a709f88dc7f3aa4158cc000c9202dea49389acc6 Mon Sep 17 00:00:00 2001
From: coolneng <akasroua@gmail.com>
Date: Wed, 22 Mar 2023 23:21:10 +0100
Subject: [PATCH] Revert "Enable retbleed newer mitigation and zen kernel"

This reverts commit 76b2e9949f44f74d4ba789bd170d3b1d8a364244.
---
 configuration.nix | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configuration.nix b/configuration.nix
index b493868..1a56cd5 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -5,7 +5,7 @@ with pkgs;
 {
   # Kernel configuration
   boot = {
-    kernelPackages = linuxPackages_zen;
+    kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
     kernelParams = [
       "zfs.zfs_arc_max=2147483648"
       "zfs.zfs_arc_meta_limit_percent=90"
@@ -13,7 +13,6 @@ with pkgs;
       "ipv6.disable=1"
       "ahci.mobile_lpm_policy=3"
       "nmi_watchdog=0"
-      "retbleed=stuff"
     ];
     kernelModules = [ "i915" ];
     blacklistedKernelModules = [ "btusb" "bluetooth" ];