dotfiles.nix/home/programs.nix

124 lines
2.8 KiB
Nix
Raw Normal View History

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-12-23 01:49:53 +00:00
discord-ptb obsidian rectangle slack utm zoom-us
2023-10-26 02:37:42 +00:00
# system tools
2023-08-23 00:50:29 +00:00
curl wget
# `tmux` session alternative
2022-12-21 05:22:57 +00:00
abduco
# archive tool
atool
# `top` alternative with ASCII graphs
2022-12-21 05:22:57 +00:00
bottom
# `ncdu` alternative
diskonaut
# `dig` alternative. dogs _can_ look up
dogdns
# `du` alternative
2022-12-21 05:22:57 +00:00
du-dust
# `find` alternative
2022-12-21 05:22:57 +00:00
fd
# `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
# `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
2023-12-23 01:49:53 +00:00
# (La)TeX alternative
typst
2022-12-21 05:22:57 +00:00
# extract RAR archives
unrar
# extract XZ archives
xz
# `tmux` multiplexing/layout alternative
zellij
2022-01-23 01:32:58 +00:00
# dev platforms
2022-12-21 05:22:57 +00:00
# command line tools for fly.io
flyctl
# 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
# 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
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
});
programs = {
# `cat` with wings
bat = {
enable = true;
config = { style = "auto"; };
};
2023-12-23 01:49:53 +00:00
# multi-shell / multi-command argument completion daemon
carapace.enable = true;
# 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;
};
}