mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 18:33:52 +00:00
27 lines
352 B
Nix
27 lines
352 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.programs.cli.eza;
|
|
in
|
|
{
|
|
options.module.programs.cli.eza = {
|
|
enable = mkBool;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.eza = True // {
|
|
icons = "auto";
|
|
extraOptions = [
|
|
"--group-directories-first"
|
|
"--icons=always"
|
|
];
|
|
};
|
|
};
|
|
}
|