nixcfg/homeManagerModules/apps/eza/default.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"];
};
};
}