- Add individual modules for: bat, carapace, direnv, eza, fzf, lf, nitch, television, zellij, zellij-ps, zoxide - Centralize in home/base/cli-tools/ with default.nix aggregator - Simplify home/base/packages by removing extracted tools
21 lines
463 B
Nix
21 lines
463 B
Nix
# Eza — modern ls replacement with icons, git status, and long format by default.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.eza;
|
|
in {
|
|
options.base.cliTools.eza.enable = mkEnableOption "enable eza modern ls replacement";
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.eza = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableBashIntegration = true;
|
|
extraOptions = ["-l" "--icons" "--git" "-a"];
|
|
};
|
|
};
|
|
}
|