2024-07-29 04:13:04 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
namespace,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
|
|
|
|
cfg = config.${namespace}.tools.eza;
|
|
|
|
in {
|
|
|
|
options.${namespace}.tools.eza = {
|
|
|
|
enable = mkEnableOption "eza";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.eza = {
|
|
|
|
enable = true;
|
2024-10-28 01:37:03 +00:00
|
|
|
icons = "auto";
|
2024-07-29 04:13:04 +00:00
|
|
|
git = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|