Move eza (and fix it)

This commit is contained in:
Henry Hiles 2023-12-26 13:52:12 -05:00
parent fa8fef927d
commit 2ec0af73b7
4 changed files with 12 additions and 13 deletions

View file

@ -12,7 +12,6 @@
sharedModules = [
{home.stateVersion = "23.11";}
./home-manager/gtk.nix
./home-manager/eza.nix
./home-manager/git.nix
./home-manager/btop.nix
./home-manager/vscode.nix

View file

@ -1,12 +0,0 @@
{
programs.eza = {
enable = true;
enableAliases = true;
icons = true;
extraOptions = [
"--all"
"--color=always"
"--group-directories-first"
];
};
}

View file

@ -11,6 +11,7 @@
shells = [pkgs.fish];
shellAliases = {
# Utility
ls = "eza";
cat = "bat";
rm = "gio trash";
free = "free -h";

11
wrappers/common/eza.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
wrappers.eza = {
basePackage = pkgs.eza;
flags = [
"--all"
"--icons"
"--color=always"
"--group-directories-first"
];
};
}