diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-04-16T14·49-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-04-16T14·56+0000 |
commit | 46aa62449ff4857117dcf6d11a78027679ffe4ec (patch) | |
tree | 9c9e17a7f734ffcdd6eb410abf1a671cb215a74a | |
parent | 773f23e163f40887b7ec5a3a47ce722e12ddfa30 (diff) |
feat(grfn/yeren): Install rr r/2516
This... mostly works! I had to install it from the latest master branch to get it functioning on my CPU, hopefully once they release a new version I can remove the override. Change-Id: I863d2e822b149838c58aa1c1e7dc73a127a0aeb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3022 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
-rw-r--r-- | users/grfn/system/home/modules/development.nix | 10 | ||||
-rw-r--r-- | users/grfn/system/system/machines/yeren.nix | 4 |
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 = { |