nixos-config/modules/home/cli/terminal.nix
Sridhar Ratnakumar bcfd7d5e04 stuff
2025-12-18 21:07:32 -05:00

92 lines
1.4 KiB
Nix

# Platform-independent terminal setup
{ flake, pkgs, ... }:
let
inherit (flake) inputs;
in
{
imports = [
inputs.nix-index-database.homeModules.nix-index
];
home.packages = with pkgs; [
# Unixy tools
neovim
ripgrep
fd
sd
wget
moreutils # ts, etc.
gnumake
killall
television
yt-dlp
# gh
# Broken, https://github.com/NixOS/nixpkgs/issues/299680
# ncdu
# Useful for Nix development
ci
touchpr
omnix
nixpkgs-fmt
just
watchexec
fswatch
eternal-terminal
uv # For running Python stuff quickly.
# AI
google-cloud-sdk
# Publishing
asciinema
ispell
pandoc
# Dev
fuckport
sshuttle-via
entr
hackage-publish
# Fonts
cascadia-code
monaspace
# Txns
hledger
hledger-web
gnupg
ffmpeg
];
fonts.fontconfig.enable = true;
home.shellAliases = {
g = "git";
lg = "lazygit";
l = "ls";
beep = "say 'beep'";
};
programs = {
nix-index = {
enable = true;
enableZshIntegration = true;
};
nix-index-database.comma.enable = true;
bat.enable = true;
autojump.enable = false;
zoxide.enable = true;
fzf = {
enable = true;
defaultCommand = "fd --type f";
enableBashIntegration = true;
};
jq.enable = true;
btop.enable = true;
};
}