{ lib, config, namespace, ... }: let inherit (lib) mkIf; inherit (lib.${namespace}) mkEnableModule; cfg = config.${namespace}.programs.eza; in { options = mkEnableModule "programs.eza"; config = mkIf cfg.enable { programs.eza = { enable = true; git = true; icons = "always"; colors = "always"; extraOptions = [ "--all" "--sort=name" "--group-directories-first" "--header" "--group" ]; }; }; }