Lower perf_event_paranoid to -1

This commit is contained in:
Rodrigo Arias 2023-06-23 16:01:27 +02:00
parent 826cfdf43f
commit 31be81d2b1

View File

@ -19,7 +19,7 @@
]; ];
boot.kernel.sysctl = { boot.kernel.sysctl = {
"kernel.perf_event_paranoid" = lib.mkDefault 0; "kernel.perf_event_paranoid" = lib.mkDefault "-1";
}; };
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;