Added commandline tools

This commit is contained in:
2023-12-19 17:49:25 -04:00
parent 22dc9f16fb
commit e96fb19078
8 changed files with 60 additions and 23 deletions

8
home/shell/aria2.nix Normal file
View File

@@ -0,0 +1,8 @@
{...}: {
programs.aria2 = {
enable = true;
settings = {
max-upload-limit = "0M";
};
};
}

View File

@@ -1,5 +0,0 @@
{
programs.autojump = {
enable = true;
};
}

View File

@@ -1,5 +1,5 @@
{...}: {
programs.btop = {
programs.bottom = {
enable = true;
};
}

View File

@@ -4,11 +4,29 @@
};
home.packages = with pkgs; [
# Development
just
# Tools
# AI Tools
ollama
# Development
mprocs
tokei
# Diagnostics/Investigation/Recovery
hexyl
john
nmap
trippy
# Filesystem Tools
du-dust
dysk
fd
lemmeknow
ouch
# Utilities
procs
ripgrep
];
programs.direnv = {

View File

@@ -1,9 +1,9 @@
{...}: {
imports = [
./atuin.nix
./autojump.nix
./aria2.nix
./bat.nix
./btop.nix
./bottom.nix
./common.nix
./direnv.nix
./eza.nix
@@ -11,7 +11,7 @@
./git.nix
./htop.nix
./nushell
./rmtrash.nix
./rip.nix
./starship.nix
./tldr.nix
./zoxide.nix

25
home/shell/rip.nix Normal file
View File

@@ -0,0 +1,25 @@
{pkgs, ...}: {
home.packages = with pkgs; [
rm-improved
];
# TODO: Replace this with confirm once packaged
home.shellAliases = {
confirm = ''
read -p "Are you sure? [y/N] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
$argv
fi
'';
rm = ''
confirm rm $argv
'';
rmdir = ''
confirm rmdir $argv
'';
};
}

View File

@@ -1,10 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
rmtrash
];
home.shellAliases = {
rm = "rmtrash";
rmdir = "rmdirtrash";
};
}

View File

@@ -5,5 +5,6 @@
home.shellAliases = {
cd = "z";
j = "echo 'j is deprecated, use z' && z";
};
}