diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-13 10:59:22 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-13 10:59:22 -0800 |
commit | ec28df073410ff73a1d8cf5874aee42c5a808533 (patch) | |
tree | 4b9fb329ff04cd25ebdc8a24f69f0d302fd53593 | |
parent | home-manager: install pavucontrol (diff) | |
download | world-ec28df073410ff73a1d8cf5874aee42c5a808533.tar.gz |
home-manager: install perf related tools
bcc, perf, etc
-rw-r--r-- | users/fcuny/cli/default.nix | 3 | ||||
-rw-r--r-- | users/fcuny/cli/tools.nix | 12 |
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; +} |