30 lines
555 B
Nix
30 lines
555 B
Nix
{ 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
|
|
bcc
|
|
tcpdump
|
|
ncdu
|
|
# Useful to invoke `coredumpctl gdb`
|
|
gdb
|
|
htop
|
|
btop
|
|
];
|
|
};
|
|
}
|