2024-04-13 12:22:49 +02:00
|
|
|
# SPDX-FileCopyrightText: 2020-2024 Simon Bruder <simon@sbruder.de>
|
2024-01-06 01:19:35 +01:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2021-01-20 16:40:36 +01:00
|
|
|
{ config, pkgs, ... }:
|
2021-01-20 16:23:18 +01:00
|
|
|
|
2020-12-05 13:48:06 +01:00
|
|
|
{
|
|
|
|
programs = {
|
2021-01-20 16:40:36 +01:00
|
|
|
adb.enable = pkgs.stdenv.isx86_64 && config.sbruder.full;
|
2023-12-02 18:54:23 +01:00
|
|
|
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
|
|
|
};
|
2021-02-05 17:33:42 +01:00
|
|
|
|
|
|
|
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
|
2021-02-05 17:33:42 +01:00
|
|
|
dos2unix # convert CRLF (dos) or CR (classic mac) line endings to LF (unix)
|
|
|
|
file # file type
|
|
|
|
ncdu # interactive du
|
2022-09-11 01:02:30 +02:00
|
|
|
pipe-rename # interactive (in editor) renaming
|
2021-02-05 17:33:42 +01:00
|
|
|
rename # sed for filenames
|
2023-05-05 16:17:40 +02:00
|
|
|
ripgrep # better grep
|
2022-09-11 01:21:59 +02:00
|
|
|
sqlite-interactive # cli for sqlite databases
|
2021-02-05 17:33:42 +01:00
|
|
|
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
|
|
|
|
2021-02-05 17:33:42 +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
|
2021-02-05 17:33:42 +01:00
|
|
|
lm_sensors # temperature sensors
|
2024-05-12 16:44:07 +02:00
|
|
|
nvme-cli # NVMe management
|
2022-01-14 15:53:29 +01:00
|
|
|
parted # partition manager
|
2021-02-05 17:33:42 +01:00
|
|
|
pciutils # lspci
|
2024-04-13 12:22:49 +02:00
|
|
|
(reptyr.overrideAttrs (o: o // { doCheck = false; })) # move process to current terminal # tests fail on qemu-user-aarch64 (TODO 24.05: remove)
|
2021-02-05 17:33:42 +01:00
|
|
|
smartmontools # hard drive monitoring
|
2023-04-09 18:23:29 +02:00
|
|
|
tcpdump # package inspector
|
2023-07-21 15:06:29 +02:00
|
|
|
tio # serial console
|
2021-02-05 17:33:42 +01:00
|
|
|
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
|
2021-02-05 17:33:42 +01:00
|
|
|
];
|
2020-12-05 13:48:06 +01:00
|
|
|
}
|