2022-12-21 05:22:57 +00:00
|
|
|
{ pkgs, lib, ... }: {
|
2022-01-23 01:32:58 +00:00
|
|
|
|
2022-12-21 05:22:57 +00:00
|
|
|
home.packages = builtins.attrValues ({
|
|
|
|
inherit (pkgs)
|
2023-08-23 00:50:29 +00:00
|
|
|
# GUI apps
|
2023-11-03 04:12:17 +00:00
|
|
|
discord-ptb obsidian slack zoom-us
|
2022-11-05 22:03:58 +00:00
|
|
|
|
2023-10-26 02:37:42 +00:00
|
|
|
# system tools
|
2023-08-23 00:50:29 +00:00
|
|
|
curl wget
|
2023-11-03 04:12:17 +00:00
|
|
|
# `tmux` session alternative
|
2022-12-21 05:22:57 +00:00
|
|
|
abduco
|
|
|
|
# archive tool
|
|
|
|
atool
|
2023-11-03 04:12:17 +00:00
|
|
|
# `top` alternative with ASCII graphs
|
2022-12-21 05:22:57 +00:00
|
|
|
bottom
|
2023-11-03 04:12:17 +00:00
|
|
|
# `ncdu` alternative
|
|
|
|
diskonaut
|
|
|
|
# `dig` alternative. dogs _can_ look up
|
|
|
|
dogdns
|
|
|
|
# `du` alternative
|
2022-12-21 05:22:57 +00:00
|
|
|
du-dust
|
2023-11-03 04:12:17 +00:00
|
|
|
# `find` alternative
|
2022-12-21 05:22:57 +00:00
|
|
|
fd
|
2023-11-03 04:12:17 +00:00
|
|
|
# `ping` with a graph
|
|
|
|
gping
|
|
|
|
# `ps` alternative
|
2022-12-21 05:22:57 +00:00
|
|
|
procs
|
|
|
|
# pipe progress viewer
|
|
|
|
pv
|
|
|
|
# command line file encryption
|
|
|
|
rage
|
2023-11-03 04:12:17 +00:00
|
|
|
# `sed` alternative for _batch file_ edits
|
|
|
|
sad
|
|
|
|
# `sed` alternative for _stream_ edits
|
|
|
|
sd
|
2023-10-26 02:37:42 +00:00
|
|
|
# backups for the truly paranoid
|
|
|
|
tarsnap
|
2023-04-14 19:57:47 +00:00
|
|
|
# terminal color support testing
|
|
|
|
terminal-colors
|
2022-12-21 05:22:57 +00:00
|
|
|
# extract RAR archives
|
|
|
|
unrar
|
|
|
|
# extract XZ archives
|
|
|
|
xz
|
2023-11-03 04:12:17 +00:00
|
|
|
# `tmux` multiplexing/layout alternative
|
|
|
|
zellij
|
2022-01-23 01:32:58 +00:00
|
|
|
|
2023-11-03 04:12:17 +00:00
|
|
|
# dev platforms
|
2022-12-21 05:22:57 +00:00
|
|
|
# command line tools for fly.io
|
|
|
|
flyctl
|
2023-11-03 04:12:17 +00:00
|
|
|
# command line tools for netlify
|
|
|
|
netlify-cli
|
|
|
|
|
|
|
|
# dev tools
|
|
|
|
# session recording
|
|
|
|
asciinema
|
2022-12-21 05:22:57 +00:00
|
|
|
# benchmarking tool
|
|
|
|
hyperfine
|
2023-06-07 20:14:01 +00:00
|
|
|
# task runner
|
|
|
|
just
|
2023-11-03 04:12:17 +00:00
|
|
|
# source code line counter
|
|
|
|
tokei
|
2022-12-21 05:22:57 +00:00
|
|
|
# reimplementation of `httpie` in rust
|
|
|
|
xh
|
2022-07-17 17:24:28 +00:00
|
|
|
|
2023-10-26 02:37:42 +00:00
|
|
|
# useful nix related tools
|
2023-11-03 04:12:17 +00:00
|
|
|
nix-prefetch-git nix-tree
|
2022-12-21 05:22:57 +00:00
|
|
|
# adding/managing alternative binary caches hosted by Cachix
|
|
|
|
cachix
|
|
|
|
# run software from nixpkgs without installing it
|
|
|
|
comma
|
2023-10-26 02:37:42 +00:00
|
|
|
# nix language servers
|
|
|
|
nil nixd;
|
2022-12-21 05:22:57 +00:00
|
|
|
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
|
|
|
|
inherit (pkgs)
|
2023-08-23 00:50:29 +00:00
|
|
|
# useful macOS CLI commands
|
2023-10-26 02:37:42 +00:00
|
|
|
m-cli;
|
2022-12-21 05:22:57 +00:00
|
|
|
});
|
2023-11-03 04:12:17 +00:00
|
|
|
|
|
|
|
programs = {
|
|
|
|
# `cat` with wings
|
|
|
|
bat = {
|
|
|
|
enable = true;
|
|
|
|
config = { style = "auto"; };
|
|
|
|
};
|
|
|
|
# load and unload environment variables depending on the current directory
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
# fork of `exa`, an `ls` alternative
|
|
|
|
eza = {
|
|
|
|
enable = true;
|
|
|
|
enableAliases = true;
|
|
|
|
icons = true;
|
|
|
|
git = true;
|
|
|
|
extraOptions = [ "--group-directories-first" ];
|
|
|
|
};
|
|
|
|
jq.enable = true;
|
|
|
|
man = {
|
|
|
|
enable = true;
|
|
|
|
generateCaches = true;
|
|
|
|
};
|
|
|
|
nix-index.enable = true;
|
|
|
|
nushell.enable = true;
|
|
|
|
# `grep` alternative
|
|
|
|
ripgrep.enable = true;
|
|
|
|
# cli help, `tldr` implementation
|
|
|
|
tealdeer = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
display.use_pager = true;
|
|
|
|
updates.auto_update = true;
|
|
|
|
updates.auto_update_interval_hours = 24 * 7;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# `z` alternative
|
|
|
|
zoxide.enable = true;
|
|
|
|
};
|
2022-01-23 23:50:34 +00:00
|
|
|
}
|