From 42f2346aa5c53100be5d30588b309f87dd4cde19 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 26 Jan 2020 13:11:21 +0100 Subject: Enable perf analysis for users on desktop systems --- host/software/desktop/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/software/desktop') 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 + }; } -- cgit v1.2.3