aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/cli/tools.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 10:59:22 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 10:59:22 -0800
commitec28df073410ff73a1d8cf5874aee42c5a808533 (patch)
tree4b9fb329ff04cd25ebdc8a24f69f0d302fd53593 /users/fcuny/cli/tools.nix
parenthome-manager: install pavucontrol (diff)
downloadinfra-ec28df073410ff73a1d8cf5874aee42c5a808533.tar.gz
home-manager: install perf related tools
bcc, perf, etc
Diffstat (limited to 'users/fcuny/cli/tools.nix')
-rw-r--r--users/fcuny/cli/tools.nix12
1 files changed, 12 insertions, 0 deletions
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;
+}