23 lines
325 B
Nix
23 lines
325 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.aa.tools.eza;
|
|
in {
|
|
options.aa.tools.eza = with types; {
|
|
enable = mkEnableOption "eza";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
aa.home.extraOptions = {
|
|
programs.eza = {
|
|
enable = true;
|
|
icons = true;
|
|
git = true;
|
|
};
|
|
};
|
|
};
|
|
}
|