mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-17 23:14:07 +01:00
99 lines
2.6 KiB
Nix
99 lines
2.6 KiB
Nix
{pkgs, ...}: {
|
||
home.packages = with pkgs; [
|
||
neofetch
|
||
|
||
# archives
|
||
zip
|
||
xz
|
||
unzip
|
||
p7zip
|
||
|
||
# networking tools
|
||
mtr # A network diagnostic tool
|
||
iperf3
|
||
dnsutils # `dig` + `nslookup`
|
||
ldns # replacement of `dig`, it provide the command `drill`
|
||
aria2 # A lightweight multi-protocol & multi-source command-line download utility
|
||
socat # replacement of openbsd-netcat
|
||
nmap # A utility for network discovery and security auditing
|
||
ipcalc # it is a calculator for the IPv4/v6 addresses
|
||
|
||
# Text Processing
|
||
# Docs: https://github.com/learnbyexample/Command-line-text-processing
|
||
gnugrep # GNU grep, provides `grep`/`egrep`/`fgrep`
|
||
gnused # GNU sed, very powerful(mainly for replacing text in files)
|
||
gnumake
|
||
just # a command runner like make, but simpler
|
||
gawk # GNU awk, a pattern scanning and processing language
|
||
sad # CLI search and replace, with diff preview, really useful!!!
|
||
delta # A viewer for git and diff output
|
||
# A fast and polyglot tool for code searching, linting, rewriting at large scale
|
||
# supported languages: only some mainstream languages currently(do not support nix/nginx/yaml/toml/...)
|
||
ast-grep
|
||
jq # A lightweight and flexible command-line JSON processor
|
||
yq-go # yaml processer https://github.com/mikefarah/yq
|
||
|
||
# misc
|
||
tldr
|
||
cowsay
|
||
file
|
||
which
|
||
tree
|
||
gnutar
|
||
zstd
|
||
caddy
|
||
gnupg
|
||
rsync
|
||
|
||
# nix related
|
||
#
|
||
# it provides the command `nom` works just like `nix
|
||
# with more details log output
|
||
nix-output-monitor
|
||
nodePackages.node2nix
|
||
|
||
# productivity
|
||
hugo # static site generator
|
||
glow # markdown previewer in terminal
|
||
];
|
||
|
||
programs = {
|
||
# A modern replacement for ‘ls’
|
||
# useful in bash/zsh prompt, not in nushell.
|
||
eza = {
|
||
enable = true;
|
||
enableAliases = false; # do not enable aliases in nushell!
|
||
git = true;
|
||
icons = true;
|
||
};
|
||
|
||
# A command-line fuzzy finder
|
||
fzf = {
|
||
enable = true;
|
||
# https://github.com/catppuccin/fzf
|
||
# catppuccin-mocha
|
||
colors = {
|
||
"bg+" = "#313244";
|
||
"bg" = "#1e1e2e";
|
||
"spinner" = "#f5e0dc";
|
||
"hl" = "#f38ba8";
|
||
"fg" = "#cdd6f4";
|
||
"header" = "#f38ba8";
|
||
"info" = "#cba6f7";
|
||
"pointer" = "#f5e0dc";
|
||
"marker" = "#f5e0dc";
|
||
"fg+" = "#cdd6f4";
|
||
"prompt" = "#cba6f7";
|
||
"hl+" = "#f38ba8";
|
||
};
|
||
};
|
||
|
||
# skim provides a single executable: sk.
|
||
# Basically anywhere you would want to use grep, try sk instead.
|
||
skim = {
|
||
enable = true;
|
||
enableBashIntegration = true;
|
||
};
|
||
};
|
||
}
|