mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:03:55 -05:00
14 lines
312 B
Nix
14 lines
312 B
Nix
{ pkgs, lib, config, ... }: {
|
|
|
|
options = { cliApps.eza.enable = lib.mkEnableOption "Enables eza."; };
|
|
|
|
config = lib.mkIf config.cliApps.eza.enable {
|
|
programs.eza = {
|
|
enable = true;
|
|
git = true;
|
|
icons = true;
|
|
extraOptions = [ "--group-directories-first" "--header" ];
|
|
};
|
|
};
|
|
}
|