setup-env #1

Merged
noah.knegt merged 28 commits from setup-env into main 2025-02-28 21:49:32 +01:00
19 changed files with 263 additions and 21 deletions
Showing only changes of commit 5818af3a11 - Show all commits

View File

@@ -17,11 +17,10 @@
./IDEs
./tools
./git
./zsh
./fzf.nix
./tmux.nix
];
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;
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";
};
};
}