dotfiles/modules/home/tools/eza/default.nix
alejandro-angulo 3fc08e78e0
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
chore: flake/package updates
2024-10-27 18:37:03 -07:00

23 lines
330 B
Nix

{
config,
lib,
namespace,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.tools.eza;
in {
options.${namespace}.tools.eza = {
enable = mkEnableOption "eza";
};
config = mkIf cfg.enable {
programs.eza = {
enable = true;
icons = "auto";
git = true;
};
};
}