nixos-config/modules/tools.nix
Simon Bruder fa0afa040f
Clean up tools/programs
I haven’t really used some of them, so they don’t need to take space up
in the environment.
2022-09-11 01:21:59 +02:00

56 lines
1.3 KiB
Nix

{ config, pkgs, ... }:
{
programs = {
adb.enable = pkgs.stdenv.isx86_64 && config.sbruder.full;
bandwhich.enable = true;
iotop.enable = true;
wireshark = {
enable = config.sbruder.gui.enable && config.sbruder.full;
package = pkgs.wireshark;
};
};
environment.systemPackages = with pkgs; [
# top like tools
bmon # network monitor
mtr # interactive traceroute
# batch processing/automation
jq # sed for json
# file tools
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
sqlite-interactive # cli for sqlite databases
wget # download tool
# encryption tools
ssh-to-pgp # convert ssh host-key to pgp key
# network tools
dnsutils # dig
iperf
iperf2 # bandwidth measurement tool
nmap # port scanner
vnstat # client for vnstatd
# system tools
dmidecode # hardware information
hdparm # hard drive management
lm_sensors # temperature sensors
parted # partition manager
pciutils # lspci
reptyr # move process to current terminal
smartmontools # hard drive monitoring
usbutils # lsusb
# eye candy
ccze # log coloriser
];
}