aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny')
-rw-r--r--users/fcuny/cli/default.nix3
-rw-r--r--users/fcuny/cli/tools.nix12
2 files changed, 15 insertions, 0 deletions
diff --git a/users/fcuny/cli/default.nix b/users/fcuny/cli/default.nix
index ff2b89f..5259014 100644
--- a/users/fcuny/cli/default.nix
+++ b/users/fcuny/cli/default.nix
@@ -6,10 +6,13 @@
./go.nix
./tmux.nix
./zsh.nix
+ ./tools.nix
];
home.packages = [
pkgs.jq
pkgs.ripgrep
];
+
+ programs.perftools.enable = true;
}
diff --git a/users/fcuny/cli/tools.nix b/users/fcuny/cli/tools.nix
new file mode 100644
index 0000000..bd38c72
--- /dev/null
+++ b/users/fcuny/cli/tools.nix
@@ -0,0 +1,12 @@
+{ pkgs, config, lib, ...}:
+
+{
+ environment.systemPackages = with pkgs; [
+ # use the correct version of `perf` for the configured `linuxPackages`
+ linuxpkgs.perf
+ perf-tools
+ flameGraph
+ ];
+ # this uses correct `linuxPackages` for `bcc`
+ programs.bcc.enable = true;
+}