52 lines
774 B
Nix
52 lines
774 B
Nix
|
|
# Essential CLI packages — core utilities always available on every host.
|
||
|
|
{
|
||
|
|
config,
|
||
|
|
lib,
|
||
|
|
pkgs,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
with lib; let
|
||
|
|
cfg = config.base.cliTools.essentials;
|
||
|
|
in {
|
||
|
|
options.base.cliTools.essentials.enable = mkEnableOption "enable essential CLI packages";
|
||
|
|
|
||
|
|
config = mkIf cfg.enable {
|
||
|
|
home.packages = with pkgs; [
|
||
|
|
# Core utilities
|
||
|
|
coreutils
|
||
|
|
fd
|
||
|
|
htop
|
||
|
|
jq
|
||
|
|
ripgrep
|
||
|
|
|
||
|
|
# Dev tools
|
||
|
|
devenv
|
||
|
|
gcc
|
||
|
|
go
|
||
|
|
httpie
|
||
|
|
just
|
||
|
|
lazygit
|
||
|
|
nix-index
|
||
|
|
nix-update
|
||
|
|
progress
|
||
|
|
sqlite
|
||
|
|
sqlite-vec
|
||
|
|
tldr
|
||
|
|
|
||
|
|
# AI tools
|
||
|
|
comma
|
||
|
|
fabric-ai
|
||
|
|
llm
|
||
|
|
|
||
|
|
# Misc
|
||
|
|
basecamp
|
||
|
|
hyprpaper-random
|
||
|
|
libnotify
|
||
|
|
trash-cli
|
||
|
|
unzip
|
||
|
|
yazi
|
||
|
|
zip
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|