x: disable mitigations

This commit is contained in:
makefu 2023-10-03 22:40:28 +02:00
parent bcce7262a7
commit a6b75651cd
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
3 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,5 @@
{
boot.kernelParams = [
"mitigations=off"
];
}

View file

@ -11,6 +11,7 @@
# (self + "/makefu/2configs/hw/mceusb.nix")
# (self + "/2configs/hw/rtl8812au.nix")
../../2configs/hw/network-manager.nix
../../2configs/performance/disable-mitigations.nix
# ../../2configs/hw/stk1160.nix
# ../../2configs/hw/irtoy.nix
# ../../2configs/hw/malduino_elite.nix
@ -196,7 +197,7 @@
# ../../2configs/lanparty/lancache-dns.nix
# ../../2configs/lanparty/samba.nix
# ../../2configs/lanparty/mumble-server.nix
../../2configs/wireguard/wiregrill.nix
../../2configs/wireguard/wiregrill-client.nix
# {
# networking.wireguard.interfaces.wg0 = {

View file

@ -20,6 +20,9 @@
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [
"amd_pstate=active"
];
boot.kernelPackages = lib.mkForce pkgs.linuxPackages;