about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 11:09:40 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 11:09:40 -0800
commit657ed3de6b8d250b2d2978098a7990ff31ee0770 (patch)
treeca318b5dded4c5fb8c41cca3f41d5dc981285560 /hosts
parenthome-manager: fix package name (diff)
downloadworld-657ed3de6b8d250b2d2978098a7990ff31ee0770.tar.gz
hosts: install linux perf tools for the host
Diffstat (limited to '')
-rw-r--r--hosts/common/system/software.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/hosts/common/system/software.nix b/hosts/common/system/software.nix
index fa919ae..1f746fb 100644
--- a/hosts/common/system/software.nix
+++ b/hosts/common/system/software.nix
@@ -1,14 +1,18 @@
 {pkgs, config, lib, ...}:
 
-{
+with lib;
+let linuxpkgs = config.boot.kernelPackages;
+in {
   environment.systemPackages = with pkgs; [
     curl
     dmidecode
+    flameGraph
     git
     htop
     hwdata
     iftop
     iptraf-ng
+    linuxpkgs.perf
     lm_sensors
     lsb-release
     mg
@@ -16,6 +20,7 @@
     openssl
     parted
     pciutils
+    perf-tools
     rsync
     strace
     tcpdump
@@ -26,4 +31,6 @@
     vim
     wget
   ];
+
+  programs.bcc.enable = true;
 }