mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-27 02:51:54 -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" ];
|
|
};
|
|
};
|
|
}
|