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