2024-07-01 17:11:01 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
cfg = config.bagel.sysadmin;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.bagel.sysadmin.enable = mkEnableOption "sysadmin tooling";
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
wget
|
|
|
|
vim
|
|
|
|
tmux
|
|
|
|
rsync
|
|
|
|
fd
|
|
|
|
ripgrep
|
|
|
|
pv
|
|
|
|
kitty.terminfo
|
|
|
|
config.boot.kernelPackages.perf
|
2024-07-04 21:08:36 +00:00
|
|
|
bcc
|
2024-07-01 17:11:01 +00:00
|
|
|
tcpdump
|
|
|
|
ncdu
|
2024-07-08 14:34:26 +00:00
|
|
|
# Useful to invoke `coredumpctl gdb`
|
|
|
|
gdb
|
2024-07-08 22:44:52 +00:00
|
|
|
];
|
2024-07-01 17:11:01 +00:00
|
|
|
};
|
|
|
|
}
|