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;
|
||||
};
|
||||
}
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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
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 = {
|
||||
cd = "z";
|
||||
j = "echo 'j is deprecated, use z' && z";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user