Added commandline tools
This commit is contained in:
8
home/shell/aria2.nix
Normal file
8
home/shell/aria2.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.aria2 = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
max-upload-limit = "0M";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
programs.autojump = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
programs.btop = {
|
programs.bottom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -4,11 +4,29 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Development
|
# AI Tools
|
||||||
just
|
|
||||||
|
|
||||||
# Tools
|
|
||||||
ollama
|
ollama
|
||||||
|
|
||||||
|
# Development
|
||||||
|
mprocs
|
||||||
|
tokei
|
||||||
|
|
||||||
|
# Diagnostics/Investigation/Recovery
|
||||||
|
hexyl
|
||||||
|
john
|
||||||
|
nmap
|
||||||
|
trippy
|
||||||
|
|
||||||
|
# Filesystem Tools
|
||||||
|
du-dust
|
||||||
|
dysk
|
||||||
|
fd
|
||||||
|
lemmeknow
|
||||||
|
ouch
|
||||||
|
|
||||||
|
# Utilities
|
||||||
|
procs
|
||||||
|
ripgrep
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./atuin.nix
|
./atuin.nix
|
||||||
./autojump.nix
|
./aria2.nix
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./btop.nix
|
./bottom.nix
|
||||||
./common.nix
|
./common.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./eza.nix
|
./eza.nix
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
./git.nix
|
./git.nix
|
||||||
./htop.nix
|
./htop.nix
|
||||||
./nushell
|
./nushell
|
||||||
./rmtrash.nix
|
./rip.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./tldr.nix
|
./tldr.nix
|
||||||
./zoxide.nix
|
./zoxide.nix
|
||||||
|
|||||||
25
home/shell/rip.nix
Normal file
25
home/shell/rip.nix
Normal 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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
rmtrash
|
|
||||||
];
|
|
||||||
|
|
||||||
home.shellAliases = {
|
|
||||||
rm = "rmtrash";
|
|
||||||
rmdir = "rmdirtrash";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -5,5 +5,6 @@
|
|||||||
|
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
cd = "z";
|
cd = "z";
|
||||||
|
j = "echo 'j is deprecated, use z' && z";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user