diff --git a/modules/programs/eza.nix b/modules/programs/eza.nix index 7312e56..c8c4dae 100644 --- a/modules/programs/eza.nix +++ b/modules/programs/eza.nix @@ -1,14 +1,24 @@ -{ inputs, pkgs, lib, ... }: +{ self, inputs, ... }: { - flake.modules.homeManager.eza = { pkgs, lib, ... }: { + flake.modules.homeManager.eza = { config, pkgs, lib, ... }: { programs.eza = { enable = true; - package = pkgs.eza; enableBashIntegration = true; enableZshIntegration = true; - }; - home.shellAliases = { - ls = "${lib.getExe pkgs.eza} -algos type --follow-symlinks --all --all"; + git = true; + icons = "auto"; + colors = "auto"; + extraOptions = [ + "--all" + "--long" + "--group-directories-first" + "--sort=type" + "--dereference" + "--octal-permissions" + "--smart-group" + "--no-time" + "--git" + ]; }; }; } \ No newline at end of file