home-manager: added modules and extra config for CLI utilities

This commit is contained in:
Aly Raffauf 2024-03-15 00:01:19 -04:00
parent a2aa213365
commit bb7c6c587d
2 changed files with 10 additions and 5 deletions

View file

@ -14,8 +14,6 @@
# Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
home.packages = with pkgs; [ home.packages = with pkgs; [
curl curl
eza # A modern replacement for ls
fzf # A command-line fuzzy finder
gh gh
git git
github-desktop github-desktop
@ -24,4 +22,14 @@
warp-terminal warp-terminal
wget wget
]; ];
programs.eza.enable = true;
programs.eza.git = true;
programs.fzf.enable = true;
programs.nnn.enable = true;
programs.tmux.enable = true;
} }

View file

@ -4,9 +4,6 @@
programs.bash = { programs.bash = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
shellAliases = {
ls = "eza --group-directories-first";
};
initExtra = initExtra =
'' ''
export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ " export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ "