From 885fb6feae25c38f780a903af0ad99c6ceb5840a Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Fri, 5 Aug 2022 21:17:22 +0200 Subject: [PATCH] miku: Disable mitigations --- hosts/miku.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/miku.nix b/hosts/miku.nix index 327bd46..a7b12c5 100644 --- a/hosts/miku.nix +++ b/hosts/miku.nix @@ -149,14 +149,18 @@ "kvm.report_ignored_msrs=N" "fbcon=rotate:3" "quiet" - "nopti" - "nospectre_v2" - "nospec" "clocksource=tsc" "tsc=reliable" "pci=noaer" + # Disable mitigations + "mitigations=off" + "rhgb" + # Enable ZSwap + "zswap.enabled=1" # Enable Apparmor "lsm=landlock,lockdown,yama,integrity,apparmor,bpf" + # Prevent sequential probing + "libahci.ignore_sss=1" ]; kernel.sysctl = { # League of Legends under Linux