nixos-config/modules/tools.nix

71 lines
1.7 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
2020-12-05 13:48:06 +01:00
{
programs = {
adb.enable = pkgs.stdenv.isx86_64 && config.sbruder.full;
2023-10-04 23:36:30 +02:00
# TODO 23.11: use option again
#bandwhich.enable = true;
2020-12-05 13:48:06 +01:00
iotop.enable = true;
2021-12-10 18:00:13 +01:00
wireshark = {
enable = config.sbruder.gui.enable && config.sbruder.full;
package = pkgs.wireshark;
};
2020-12-05 13:48:06 +01:00
};
2023-10-04 23:36:30 +02:00
# TODO 23.11: see above
security.wrappers.bandwhich = {
owner = "root";
group = "root";
capabilities = "cap_net_raw,cap_net_admin+ep";
source = "${pkgs.unstable.bandwhich}/bin/bandwhich";
};
environment.systemPackages = with pkgs; [
# top like tools
bmon # network monitor
mtr # interactive traceroute
# batch processing/automation
jq # sed for json
# file tools
2021-02-20 12:47:27 +01:00
compsize # btrfs compression statistics
dos2unix # convert CRLF (dos) or CR (classic mac) line endings to LF (unix)
file # file type
ncdu # interactive du
pipe-rename # interactive (in editor) renaming
rename # sed for filenames
2023-05-05 16:17:40 +02:00
ripgrep # better grep
sqlite-interactive # cli for sqlite databases
wget # download tool
2021-02-08 19:17:13 +01:00
# encryption tools
2021-04-06 10:21:48 +02:00
ssh-to-pgp # convert ssh host-key to pgp key
2021-02-08 19:17:13 +01:00
# network tools
dnsutils # dig
iperf
iperf2 # bandwidth measurement tool
nmap # port scanner
vnstat # client for vnstatd
# system tools
2021-03-10 15:49:53 +01:00
dmidecode # hardware information
2021-02-14 15:30:44 +01:00
hdparm # hard drive management
lm_sensors # temperature sensors
2022-01-14 15:53:29 +01:00
parted # partition manager
pciutils # lspci
reptyr # move process to current terminal
smartmontools # hard drive monitoring
tcpdump # package inspector
2023-07-21 15:06:29 +02:00
tio # serial console
usbutils # lsusb
2021-02-05 17:51:29 +01:00
# eye candy
ccze # log coloriser
2023-11-14 16:05:26 +01:00
# helpers
rlwrap # readline wrapper
];
2020-12-05 13:48:06 +01:00
}