feat(nixos): add missing server CLI tools and shell enhancements
Hard requirements: - python3: required by appctl and gitops_dispatcher.py Shell enhancements (via programs.* for automatic shell init): - programs.zoxide.enable: smart cd with bash/zsh init wired automatically - programs.starship.enable: cross-shell prompt, configured via /etc/bashrc Additional utilities: - eza: modern ls replacement - ripgrep (rg): fast grep - fd: fast find - tree: directory tree viewer - jq: JSON processor sops and age were already present — SOPS secret decryption is covered.
This commit is contained in:
1 parent
a781e2c428
commit
96e935d319
1 file changed
+14
-2
+14
-2
@@ -100,20 +100,32 @@
|
|||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Shell enhancements — NixOS-level options handle both install and shell init
|
||||||
|
programs.zoxide.enable = true; # smart cd; initialises in bash/zsh automatically
|
||||||
|
programs.starship.enable = true; # cross-shell prompt
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Monitoring & diagnostics
|
# Monitoring & diagnostics
|
||||||
htop
|
htop
|
||||||
iotop
|
iotop
|
||||||
iftop
|
iftop
|
||||||
ncdu
|
ncdu
|
||||||
# Secrets tooling
|
# Secrets tooling (required for sops-nix secret decryption and manual re-encryption)
|
||||||
sops
|
sops
|
||||||
age
|
age
|
||||||
# Utilities
|
# Python runtime (hard requirement for appctl and gitops_dispatcher.py)
|
||||||
|
python3
|
||||||
|
# Modern shell utilities
|
||||||
|
eza # ls replacement
|
||||||
|
ripgrep # rg — fast grep
|
||||||
|
fd # fast find
|
||||||
|
tree # directory tree viewer
|
||||||
|
# Network & transfer
|
||||||
git
|
git
|
||||||
curl
|
curl
|
||||||
wget
|
wget
|
||||||
rclone
|
rclone
|
||||||
|
jq
|
||||||
];
|
];
|
||||||
|
|
||||||
# ── State version ─────────────────────────────────────────────────────────────
|
# ── State version ─────────────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in new issue
Block a user