install eza

This commit is contained in:
Reid 2024-05-30 23:11:58 -07:00
parent 19ad0e1223
commit acf7c88934
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.software.tools.eza;
in {
options.modules.software.tools.eza = {
enable = mkEnableOption "Enable eza, a modern replacement for ls";
};
config = mkIf cfg.enable {
hm.programs.eza.enable = true;
hm.programs.eza.git = true;
};
}