From 31be81d2b10b706cb74ea45d9b0be1efbc84c510 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 23 Jun 2023 16:01:27 +0200 Subject: [PATCH] Lower perf_event_paranoid to -1 --- m/common/boot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m/common/boot.nix b/m/common/boot.nix index c93d5cc..ba917da 100644 --- a/m/common/boot.nix +++ b/m/common/boot.nix @@ -19,7 +19,7 @@ ]; boot.kernel.sysctl = { - "kernel.perf_event_paranoid" = lib.mkDefault 0; + "kernel.perf_event_paranoid" = lib.mkDefault "-1"; }; boot.kernelPackages = pkgs.linuxPackages_latest;