2023-03-19 16:40:46 +00:00
|
|
|
{
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
2023-09-15 01:19:10 +00:00
|
|
|
cfg = config.aa.tools.eza;
|
2023-03-19 16:40:46 +00:00
|
|
|
in {
|
2023-09-15 01:19:10 +00:00
|
|
|
options.aa.tools.eza = with types; {
|
|
|
|
enable = mkEnableOption "eza";
|
2023-03-19 16:40:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
aa.home.extraOptions = {
|
2023-09-15 01:19:10 +00:00
|
|
|
programs.eza = {
|
2023-03-19 16:40:46 +00:00
|
|
|
enable = true;
|
|
|
|
icons = true;
|
|
|
|
git = true;
|
|
|
|
enableAliases = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|