From 393d9a8016648d568c505d7feef3c2657b662418 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 21 Sep 2016 09:11:24 -0400 Subject: [PATCH] add perf --- common-sw.nix | 2 ++ common.nix | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common-sw.nix b/common-sw.nix index 8dfcf35..a3c2b1f 100644 --- a/common-sw.nix +++ b/common-sw.nix @@ -50,6 +50,8 @@ msmtp vdirsyncer khard khal + config.boot.kernelPackages.perf + veriT minisat picosat diff --git a/common.nix b/common.nix index 092e50a..3036695 100644 --- a/common.nix +++ b/common.nix @@ -40,8 +40,12 @@ }; # services.colord.enable = true; - # IntelliJ - boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288; + boot.kernel.sysctl = { + "kernel.perf_event_paranoid" = "0"; + + # IntelliJ + "fs.inotify.max_user_watches" = 524288; + }; # gapt: `ulimit -n` was 256 security.pam.loginLimits = [