Files
nix-config/modules/nixos/base/packages.nix
2025-10-15 12:48:58 +08:00

40 lines
1.0 KiB
Nix

{ pkgs, ... }:
{
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# system call monitoring
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
# ebpf related tools
# https://github.com/bpftrace/bpftrace
bpftrace # powerful tracing tool
bpftop # monitor BPF programs
bpfmon # BPF based visual packet rate monitor
# system monitoring
sysstat
iotop-c
iftop
nmon
sysbench
systemctl-tui
# system tools
psmisc # killall/pstree/prtstat/fuser/...
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
hdparm # for disk performance, command
dmidecode # a tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard
parted
];
# BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
# https://github.com/iovisor/bcc
programs.bcc.enable = true;
}