forked from the-distro/infra
raito
3c9b077bb2
We had this in our equivalent file. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
34 lines
608 B
Nix
34 lines
608 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
|
|
eza
|
|
grc
|
|
ripgrep
|
|
delta
|
|
tshark
|
|
pv
|
|
kitty.terminfo
|
|
config.boot.kernelPackages.perf
|
|
bcc
|
|
tcpdump
|
|
ncdu
|
|
# Useful to invoke `coredumpctl gdb`
|
|
gdb
|
|
htop
|
|
btop
|
|
];
|
|
};
|
|
}
|