mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-10 13:13:57 +00:00
17 lines
316 B
Nix
17 lines
316 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" ];
|
|
};
|
|
};
|
|
}
|
|
|