Consolidate CLI tools and fix git aliases

- Consolidated 25+ common CLI tools into modules/common/base.nix
- Added modern rust-based tools (eza, bat, ripgrep, etc.) system-wide
- Removed duplicated packages from user and machine configs
- Added consistent shell aliases for modern CLI tools
- Fixed gpa alias to properly push to all remotes
- Removed duplicate git-push-all alias from geir.nix
- Added comprehensive documentation in CLI_TOOLS_CONSOLIDATION.md

Benefits:
- Single source of truth for common CLI tools
- Reduced duplication across 7+ configuration files
- Improved git workflow with flexible multi-remote pushing
- Better maintainability and consistency
This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-08 09:28:10 +00:00
parent 73c3ac9386
commit 8884c42cf2
8 changed files with 188 additions and 85 deletions

View file

@ -31,33 +31,19 @@
# Essential admin packages
packages = with pkgs; [
# System monitoring and diagnostics
htop
# System monitoring and diagnostics (htop, lsof, strace moved to base.nix)
iotop
nethogs
lsof
strace
# Network tools
nmap
# Network tools (nmap moved to base.nix)
tcpdump
wireshark-cli
curl
wget
# File and disk utilities
tree
fd
ripgrep
fzf
ncdu
# File and disk utilities (tree, fd, ripgrep, fzf, ncdu moved to base.nix)
# Text processing
jq
yq
# Text processing (jq, yq moved to base.nix)
# Version control (for system configs)
git
# Version control (git moved to base.nix)
# Container management
podman-compose