sneeuwvlok/modules/home/shell/toolset/eza/default.nix
2026-03-26 14:03:12 +01:00

29 lines
496 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.sneeuwvlok.shell.toolset.eza;
in {
options.sneeuwvlok.shell.toolset.eza = {
enable = mkEnableOption "system-monitor";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [eza];
programs.eza = {
enable = true;
icons = "auto";
git = true;
extraOptions = [
"--hyperlink"
"--across"
"--group-directories-first"
];
};
};
}