nixcfg/homeManagerModules/apps/eza/default.nix

18 lines
331 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {alyraffauf.apps.eza.enable = lib.mkEnableOption "Enables eza.";};
2024-03-28 19:52:15 -04:00
config = lib.mkIf config.alyraffauf.apps.eza.enable {
2024-03-28 19:52:15 -04:00
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
};
};
}