x: disable mitigations
This commit is contained in:
parent
bcce7262a7
commit
a6b75651cd
5
2configs/performance/disable-mitigations.nix
Normal file
5
2configs/performance/disable-mitigations.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
boot.kernelParams = [
|
||||||
|
"mitigations=off"
|
||||||
|
];
|
||||||
|
}
|
|
@ -11,6 +11,7 @@
|
||||||
# (self + "/makefu/2configs/hw/mceusb.nix")
|
# (self + "/makefu/2configs/hw/mceusb.nix")
|
||||||
# (self + "/2configs/hw/rtl8812au.nix")
|
# (self + "/2configs/hw/rtl8812au.nix")
|
||||||
../../2configs/hw/network-manager.nix
|
../../2configs/hw/network-manager.nix
|
||||||
|
../../2configs/performance/disable-mitigations.nix
|
||||||
# ../../2configs/hw/stk1160.nix
|
# ../../2configs/hw/stk1160.nix
|
||||||
# ../../2configs/hw/irtoy.nix
|
# ../../2configs/hw/irtoy.nix
|
||||||
# ../../2configs/hw/malduino_elite.nix
|
# ../../2configs/hw/malduino_elite.nix
|
||||||
|
@ -196,7 +197,7 @@
|
||||||
# ../../2configs/lanparty/lancache-dns.nix
|
# ../../2configs/lanparty/lancache-dns.nix
|
||||||
# ../../2configs/lanparty/samba.nix
|
# ../../2configs/lanparty/samba.nix
|
||||||
# ../../2configs/lanparty/mumble-server.nix
|
# ../../2configs/lanparty/mumble-server.nix
|
||||||
../../2configs/wireguard/wiregrill.nix
|
../../2configs/wireguard/wiregrill-client.nix
|
||||||
|
|
||||||
# {
|
# {
|
||||||
# networking.wireguard.interfaces.wg0 = {
|
# networking.wireguard.interfaces.wg0 = {
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
boot.kernelParams = [
|
||||||
|
"amd_pstate=active"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages;
|
boot.kernelPackages = lib.mkForce pkgs.linuxPackages;
|
||||||
|
|
Loading…
Reference in a new issue