[shell] Adds lots of little utilities

This commit is contained in:
2025-05-26 20:37:34 -07:00
parent 2253423fc4
commit 30ad37c30f
5 changed files with 55 additions and 22 deletions

View File

@@ -2,6 +2,10 @@
{ pkgs, ... }:
{
imports = [
./uutils.nix
];
# These are all the sort of shell commands that we want available whereever
# there is shell. These include just a lot of useful utilities for managing
# a system or working with other shell commands. Packages more specific to
@@ -20,16 +24,22 @@
p7zip
file
tree
ranger
yazi # File manager
ueberzugpp # for image previews
w3m # terminal browser for image previews
dysk # better disk info
ripgrep # better grep
fd # Better find
bat # cat with wings
eza # Modern replacement for ls
dust # More intuitive du
dua # Interactive disk usage analyzer
# Networking
dnsutils
inetutils
socat
httpie
xh
# devices
usbutils
@@ -42,7 +52,14 @@
home.shellAliases = {
"p?" = "ps ax | grep";
# Dysk is basically just better.
"df" = "dysk";
"df" = "echo 'Don't you want `dysk`?'";
"grep" = "echo 'Don't you want `rg`?'";
"find" = "echo 'Don't you want `fd`?'";
"cat" = "bat";
"ls" = "eza";
"http" = "echo 'Don't you want `xh`?'";
"du" = "echo 'Don't you want `dust` or `dua`?'";
"ranger" = "echo 'Don't you want `yazi`?'";
};
programs.zsh = {
@@ -97,6 +114,12 @@
];
};
programs.zoxide = {
# TODO: Learn all the capabilities of zoxide and use them.
enable = true;
enableZshIntegration = true;
};
programs.starship = {
enable = true;
settings = {