eza uses --git by default

This commit is contained in:
William 2026-02-07 09:31:14 -03:00
parent ab69b26b40
commit d83172f487

View file

@ -1,41 +1,43 @@
{ ... }: { ... }:
{ {
flake.modules.nixos.common-programs = { lib, pkgs, ... }: { flake.modules.nixos.common-programs =
environment = { { lib, pkgs, ... }:
systemPackages = with pkgs; [ {
### Dev Tools ### environment = {
git systemPackages = with pkgs; [
### System Utilities ### ### Dev Tools ###
btop git
fastfetch ### System Utilities ###
helix btop
nixos-firewall-tool fastfetch
nvd helix
sysz nixos-firewall-tool
tmux nvd
wget sysz
yazi tmux
]; wget
shellAliases = { yazi
cat = "${lib.getExe pkgs.bat} --paging=never --style=plain"; ];
ls = "${lib.getExe pkgs.eza} --icons --group-directories-first"; shellAliases = {
tree = "ls --tree"; cat = "${lib.getExe pkgs.bat} --paging=never --style=plain";
ls = "${lib.getExe pkgs.eza} --git --icons --group-directories-first";
tree = "ls --tree";
};
}; };
};
programs = { programs = {
command-not-found.enable = false; command-not-found.enable = false;
fish = { fish = {
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting set fish_greeting
if set -q SSH_CONNECTION if set -q SSH_CONNECTION
export TERM=xterm-256color export TERM=xterm-256color
clear clear
fastfetch fastfetch
end end
''; '';
};
}; };
}; };
};
} }