diff --git a/share/common.nix b/share/common.nix index a98f73b..3d34426 100644 --- a/share/common.nix +++ b/share/common.nix @@ -57,6 +57,9 @@ in boot.kernel.sysctl = { # allow dmesg for all users "kernel.dmesg_restrict" = 0; + + # allow proper perf usage + "kernel.perf_event_mlock_kb" = 16777216; }; # Use the systemd-boot EFI boot loader.