diff --git a/modules/programs/eza.nix b/modules/programs/eza.nix index c8c4dae..6d6d9ab 100644 --- a/modules/programs/eza.nix +++ b/modules/programs/eza.nix @@ -5,13 +5,20 @@ enable = true; enableBashIntegration = true; enableZshIntegration = true; - git = true; - icons = "auto"; - colors = "auto"; - extraOptions = [ + package = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.my-eza; + }; + }; + + perSystem = { system, pkgs, ... }: { + packages.my-eza = inputs.wrappers.lib.wrapPackage { + inherit pkgs; + package = pkgs.eza; + args = [ "--all" "--long" "--group-directories-first" + "--icons=auto" + "--color=auto" "--sort=type" "--dereference" "--octal-permissions"