Added: fzf support; Need to be refined later; bunch of catppuccin theming

This commit is contained in:
2026-03-28 22:25:52 +01:00
parent 78bf922920
commit 8ab590b6dc
4 changed files with 56 additions and 41 deletions

View File

@@ -2,13 +2,14 @@
{
home.packages = with pkgs; [
eza # ls replacement
fzf # FuzzyFinder
tdf # terminal pdf viewer
jq # json parser
tree
fastfetch # system stats
tabiew # Table viewer
glow # MD Viewer
fd # find alternative
bat # cat alternative
ripgrep # grep alternative
# LLM in the Terminal
(pkgs.llm.withPlugins { llm-groq = true; })
@@ -21,7 +22,6 @@
programs.kitty = {
enable = true;
themeFile = "Catppuccin-Mocha";
font = {
name = "Fira Code Nerd Font";
@@ -85,30 +85,33 @@
};
};
programs.zsh = {
programs.fzf = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ls = "eza";
la = "eza -la";
f = "fzf";
i = "kitty +kitten icat";
"nix-switch" = "sudo darwin-rebuild switch --flake ~/.config/nix#cyper-mac";
};
enableBashIntegration = true;
enableZshIntegration = true;
enableFishIntegration = true;
defaultCommand = "fd --type f --strip-cwd-prefix --hidden --exclued .git";
fileWidgetCommand = "fd --type f --strip-cwd-prefix --hidden --exclued .git";
defaultOptions = [
"--height 100%"
"--border sharp"
"--layout=reverse"
"--inline-info"
"--preview 'bat --color=always --style=numbers {}'"
];
};
programs.fish = {
enable = true;
shellAliases = {
ls = "eza";
la = "eza -la";
f = "fzf";
ls = "eza --icons=always";
la = "eza -la --icons=always";
f = "nvim $(fzf)";
tree = "eza --icons=always -T";
i = "kitty +kitten icat";
"nix-switch" = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
cat = "bat --color=always --style=numbers";
grep = "ripgrep";
};
interactiveShellInit = ''