summaryrefslogtreecommitdiffstats
path: root/lass/1systems
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-04 12:32:33 +0200
committerlassulus <git@lassul.us>2023-09-04 12:32:33 +0200
commitced758208aba91337d35831c69c47dbf7058f8df (patch)
tree4880caa0df7df3fb0bca76075633022af3cba092 /lass/1systems
parent90436a4d49be93f08efcd26180e75850ffe09816 (diff)
l mors.r: add fast binfmt
Diffstat (limited to 'lass/1systems')
-rw-r--r--lass/1systems/mors/config.nix18
1 files changed, 18 insertions, 0 deletions
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 <stockholm/lib>;
};
+ # 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" ];