Move eza (and fix it)
This commit is contained in:
parent
fa8fef927d
commit
2ec0af73b7
4 changed files with 12 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
icons = true;
|
||||
extraOptions = [
|
||||
"--all"
|
||||
"--color=always"
|
||||
"--group-directories-first"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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
11
wrappers/common/eza.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
wrappers.eza = {
|
||||
basePackage = pkgs.eza;
|
||||
flags = [
|
||||
"--all"
|
||||
"--icons"
|
||||
"--color=always"
|
||||
"--group-directories-first"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue