marleyos/modules/home/programs/eza/default.nix

27 lines
444 B
Nix

{
lib,
config,
...
}: let
cfg = config.marleyos.programs.eza;
in {
options.marleyos.programs.eza.enable = lib.mkEnableOption "eza";
config = lib.mkIf cfg.enable {
programs.eza = {
enable = true;
git = true;
icons = "always";
colors = "always";
extraOptions = [
"--all"
"--sort=name"
"--group-directories-first"
"--header"
"--group"
];
};
};
}