nixcfg/homeManagerModules/cliApps/eza/default.nix

18 lines
315 B
Nix
Raw Normal View History

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