nixcfg/homeManagerModules/cliApps/eza/default.nix

14 lines
312 B
Nix
Raw Normal View History

2024-03-28 19:52:15 -04:00
{ pkgs, lib, config, ... }: {
options = { cliApps.eza.enable = lib.mkEnableOption "Enables eza."; };
config = lib.mkIf config.cliApps.eza.enable {
programs.eza = {
enable = true;
git = true;
icons = true;
extraOptions = [ "--group-directories-first" "--header" ];
};
};
}