From ced758208aba91337d35831c69c47dbf7058f8df Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 4 Sep 2023 12:32:33 +0200 Subject: l mors.r: add fast binfmt --- lass/1systems/mors/config.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lass') diff --git a/lass/1systems/mors/config.nix b/lass/1systems/mors/config.nix index cd389480c..23f8a1184 100644 --- a/lass/1systems/mors/config.nix +++ b/lass/1systems/mors/config.nix @@ -141,6 +141,24 @@ with import ; }; + # It may leak your data, but look how FAST it is!1!! + # https://make-linux-fast-again.com/ + boot.kernelParams = [ + "noibrs" + "noibpb" + "nopti" + "nospectre_v2" + "nospectre_v1" + "l1tf=off" + "nospec_store_bypass_disable" + "no_stf_barrier" + "mds=off" + "mitigations=off" + ]; + + boot.binfmt.emulatedSystems = [ + "aarch64-linux" + ]; nix.trustedUsers = [ "root" "lass" ]; -- cgit v1.2.3