about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/grfn/system/home/modules/development.nix10
-rw-r--r--users/grfn/system/system/machines/yeren.nix4
2 files changed, 14 insertions, 0 deletions
diff --git a/users/grfn/system/home/modules/development.nix b/users/grfn/system/home/modules/development.nix
index 327a3998d5c3..c33dad2b4c2b 100644
--- a/users/grfn/system/home/modules/development.nix
+++ b/users/grfn/system/home/modules/development.nix
@@ -56,6 +56,16 @@ with lib;
     lldb
     hyperfine
     clang-tools
+    (rr.overrideAttrs (_: rec {
+      version = "f25671d094edac8059cec56b98d7f10f2c740697";
+      src = pkgs.fetchFromGitHub {
+        owner = "rr-debugger";
+        repo = "rr";
+        rev = version;
+        sha256 = "149s4mw8vl8d3nx15sfp62z0izp2dibz99k720j75rjnkwk2bq2z";
+        fetchSubmodules = true;
+      };
+    }))
 
     clj2nix
     clojure
diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix
index 7bb06716f79a..a44d73ed0466 100644
--- a/users/grfn/system/system/machines/yeren.nix
+++ b/users/grfn/system/system/machines/yeren.nix
@@ -43,6 +43,10 @@
     extraModprobeConfig = ''
       options snd-intel-dspcfg dsp_driver=1
     '';
+
+    kernel.sysctl = {
+      "kernel.perf_event_paranoid" = -1;
+    };
   };
 
   fileSystems = {