diff --git a/home/cli.nix b/home/cli.nix index 4da6676..44777d0 100644 --- a/home/cli.nix +++ b/home/cli.nix @@ -7,6 +7,8 @@ let fullName = "Alexander Kobjolke"; mail = "me@failco.de"; }; + + myEza = if builtins.hasAttr "eza" pkgs then "eza" else "exa"; in { imports = [ # shell config @@ -126,7 +128,7 @@ in { }; # better ls with icons and stuff, maybe also try lsd - eza = { + ${myEza} = { enable = true; icons = true; enableAliases = true;