dotfiles/modules/home/tools/eza/default.nix
alejandro-angulo 2c22aedcf0
Converted eza from nixosModule to homeModule
Also included some fixes for issues introduced in last commit.
2024-07-28 21:13:04 -07:00

23 lines
328 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 = true;
git = true;
};
};
}