Converted eza from nixosModule to homeModule

Also included some fixes for issues introduced in last commit.
This commit is contained in:
alejandro-angulo 2024-07-28 21:13:04 -07:00
parent e58196dcc8
commit 2c22aedcf0
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
6 changed files with 26 additions and 34 deletions

View file

@ -1,22 +0,0 @@
{
config,
lib,
...
}:
with lib; let
cfg = config.aa.tools.eza;
in {
options.aa.tools.eza = with types; {
enable = mkEnableOption "eza";
};
config = mkIf cfg.enable {
aa.home.extraOptions = {
programs.eza = {
enable = true;
icons = true;
git = true;
};
};
};
}