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

@ -0,0 +1,22 @@
{
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;
};
};
}