Set perf paranoid to 0 by default

This commit is contained in:
Rodrigo Arias 2023-06-21 16:23:16 +02:00
parent a1f258c5ce
commit 826cfdf43f

View File

@ -18,6 +18,10 @@
"console=ttyS0,115200" "console=ttyS0,115200"
]; ];
boot.kernel.sysctl = {
"kernel.perf_event_paranoid" = lib.mkDefault 0;
};
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
#boot.kernelPatches = lib.singleton { #boot.kernelPatches = lib.singleton {