nix-config/home/cli.nix

61 lines
1.2 KiB
Nix

{ pkgs, ... }:
{
# Universal CLI tools for all hosts
home.packages = with pkgs; [
eza
bat
ripgrep
fd
fzf
tree
htop
tldr
fastfetch
];
# FZF fuzzy finder
programs.fzf = {
enable = true;
enableZshIntegration = true;
defaultCommand = "fd --type f --hidden --exclude .git";
defaultOptions = [
"--height 40%"
"--layout=reverse"
"--border"
];
};
# Zoxide - smarter cd
programs.zoxide = {
enable = true;
enableZshIntegration = true;
options = [ "--cmd cd" ];
};
# Bat - cat with syntax highlighting
programs.bat = {
enable = true;
config = {
theme = "Catppuccin-mocha";
italic-text = "always";
style = "numbers,changes,header";
};
};
# Eza - modern ls replacement
programs.eza = {
enable = true;
icons = "auto";
git = true;
};
# Fastfetch - system info (using package only, no home-manager module)
# Config is in ~/.config/fastfetch/config.jsonc manually for now
# pnpm - fast node package manager
home.packages = with pkgs; [
pnpm
];
# TODO: global npm packages not managed by nix for now
# install manually: pnpm i -g @mariozechner/pi-coding-agent
}