Add Linux tools (under condition)

This commit is contained in:
2026-04-29 22:30:13 +02:00
parent 24fddf5595
commit 67782a0996

View File

@@ -33,13 +33,17 @@ let
in
lib.mkMerge [
{
environment.systemPackages = with pkgs; [
environment.systemPackages =
with pkgs;
[
vim
git
jq
file
# Nix
nix-output-monitor # nix build -> nom build
nixfmt-rfc-style
# Software debug
tcpdump
@@ -53,6 +57,25 @@ lib.mkMerge [
smartmontools # smartctl
usbutils # lsusb
pciutils # lspci
]
++ lib.optionals pkgs.stdenv.isLinux [
# Software debug
iotop
dool # dool --time --disk -D /dev/sde,/dev/sdf --top-bio --top-cpu --zfs-arc
strace
ltrace
smem # smem -tkP nginx
# Hardware info and tunables
parted
hdparm
efivar
efibootmgr
sg3_utils # sg_unmap
lm_sensors # sensors
nvme-cli
dmidecode
ethtool
];
}