dotfiles/modules/nixos/tools/eza/default.nix
2024-04-03 20:14:39 -07:00

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;
};
};
};
}