Add tools in a tools dir

This commit is contained in:
2025-02-28 19:10:52 +01:00
parent a6696c732c
commit 5818af3a11
8 changed files with 58 additions and 3 deletions

View File

@@ -17,11 +17,10 @@
./IDEs ./IDEs
./tools
./git ./git
./zsh ./zsh
./fzf.nix
./tmux.nix
]; ];
nixpkgs = { nixpkgs = {

View File

@@ -0,0 +1,7 @@
{ pkgs, inputs, ... }:
{
programs.bat = {
enable = true;
};
}

View File

@@ -0,0 +1,11 @@
{ ... }:
{
imports = [
./bat.nix
./eza.nix
./fzf.nix
./ripgrep.nix
./tmux.nix
];
}

View File

@@ -0,0 +1,16 @@
{ pkgs, inputs, ... }:
{
programs.eza = {
enable = true;
enableZshIntegration = true;
colors = "always";
icons = "always";
git = true;
extraOptions = [
"--group-directories-first"
];
};
}

View File

@@ -0,0 +1,7 @@
{ pkgs, inputs, ... }:
{
programs.ripgrep = {
enable = true;
};
}

View File

@@ -5,9 +5,24 @@
enable = true; enable = true;
autosuggestion.enable = true; autosuggestion.enable = true;
enableCompletion = true;
history = { history = {
append = true; append = true;
}; };
shellAliases = {
ls = "eza";
ll = "eza -lh";
lal = "eza -lah";
cd = "z";
grep = "ripgrep";
cat = "bat";
less = "bat --pager=less";
};
}; };
} }