31 lines
724 B
Nix
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"
|
|
];
|
|
};
|
|
};
|
|
} |