Add tools in a tools dir
This commit is contained in:
@@ -17,11 +17,10 @@
|
||||
|
||||
./IDEs
|
||||
|
||||
./tools
|
||||
|
||||
./git
|
||||
./zsh
|
||||
|
||||
./fzf.nix
|
||||
./tmux.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
7
home-manager/tools/bat.nix
Normal file
7
home-manager/tools/bat.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
11
home-manager/tools/default.nix
Normal file
11
home-manager/tools/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bat.nix
|
||||
./eza.nix
|
||||
./fzf.nix
|
||||
./ripgrep.nix
|
||||
./tmux.nix
|
||||
];
|
||||
}
|
16
home-manager/tools/eza.nix
Normal file
16
home-manager/tools/eza.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
|
||||
colors = "always";
|
||||
icons = "always";
|
||||
git = true;
|
||||
|
||||
extraOptions = [
|
||||
"--group-directories-first"
|
||||
];
|
||||
};
|
||||
}
|
7
home-manager/tools/ripgrep.nix
Normal file
7
home-manager/tools/ripgrep.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
programs.ripgrep = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
@@ -5,9 +5,24 @@
|
||||
enable = true;
|
||||
|
||||
autosuggestion.enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
history = {
|
||||
append = true;
|
||||
};
|
||||
|
||||
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
ll = "eza -lh";
|
||||
lal = "eza -lah";
|
||||
|
||||
cd = "z";
|
||||
|
||||
grep = "ripgrep";
|
||||
|
||||
cat = "bat";
|
||||
less = "bat --pager=less";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user