diff options
Enable perf analysis for users on desktop systems
Diffstat (limited to 'host/software/desktop')
-rw-r--r-- | host/software/desktop/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/software/desktop/default.nix b/host/software/desktop/default.nix index c56cec9..030e1b1 100644 --- a/host/software/desktop/default.nix +++ b/host/software/desktop/default.nix @@ -43,4 +43,8 @@ environment.systemPackages = with pkgs; [ ntfs3g ]; + + boot.kernel.sysctl = { + "kernel.perf_event_paranoid" = -1; # allow user to perform perf analysis + }; } |