summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-01-26 13:11:21 +0100
committerAdrian Kummerlaender2020-01-26 13:12:14 +0100
commit42f2346aa5c53100be5d30588b309f87dd4cde19 (patch)
tree1defb7e2b1be4df457cd2dfff02a53a7b0d89808 /host
parent41e64f114504b945d4b6622e87032e66eaedf910 (diff)
downloadnixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.tar
nixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.tar.gz
nixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.tar.bz2
nixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.tar.lz
nixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.tar.xz
nixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.tar.zst
nixos_system-42f2346aa5c53100be5d30588b309f87dd4cde19.zip
Enable perf analysis for users on desktop systems
Diffstat (limited to 'host')
-rw-r--r--host/software/desktop/default.nix4
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
+ };
}