l mors.r: add fast binfmt

This commit is contained in:
lassulus 2023-09-04 12:32:33 +02:00
parent 90436a4d49
commit ced758208a
1 changed files with 18 additions and 0 deletions

View File

@ -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" ];