Files
dendritic/modules/programs/eza.nix
T
2026-04-16 19:05:04 -05:00

31 lines
724 B
Nix

{ self, inputs, ... }:
{
flake.modules.homeManager.eza = { config, pkgs, lib, ... }: {
programs.eza = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
package = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.my-eza;
};
};
perSystem = { system, pkgs, ... }: {
packages.my-eza = inputs.wrappers.lib.wrapPackage {
inherit pkgs;
package = pkgs.eza;
args = [
"--all"
"--long"
"--group-directories-first"
"--icons=auto"
"--color=auto"
"--sort=type"
"--dereference"
"--octal-permissions"
"--smart-group"
"--no-time"
"--git"
];
};
};
}