mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 12:29:17 -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;
|
|
extraOptions = ["--group-directories-first" "--header"];
|
|
git = true;
|
|
icons = true;
|
|
};
|
|
};
|
|
}
|