nixos-config/home/terminal.nix
2024-08-12 12:51:02 -04:00

82 lines
1.4 KiB
Nix

{ pkgs, ... }:
# Platform-independent terminal setup
{
home.packages = with pkgs; [
# Unixy tools
ripgrep
fd
sd
moreutils # ts, etc.
# Broken, https://github.com/NixOS/nixpkgs/issues/299680
# ncdu
# Useful for Nix development
om-ci-build-remote
ci
touchpr
omnix
nixpkgs-fmt
just
# Publishing
asciinema
twitter-convert
# Dev
gh
fuckport
sshuttle-via
entr
# Fonts
cascadia-code
monaspace
# Txns
hledger
hledger-web
gnupg
];
fonts.fontconfig.enable = true;
home.shellAliases = {
e = "nvim";
ee = "nvim $(fzf)";
g = "git";
lg = "lazygit";
l = "ls";
beep = "say 'beep'";
};
programs = {
nix-index = {
enable = true;
enableZshIntegration = true;
};
nix-index-database.comma.enable = true;
lsd = {
enable = true;
enableAliases = true;
};
bat.enable = true;
autojump.enable = false;
zoxide.enable = true;
fzf.enable = true;
jq.enable = true;
htop.enable = true;
wezterm = {
enable = true;
# https://alexplescan.com/posts/2024/08/10/wezterm/
extraConfig = ''
return {
font = wezterm.font("Monaspace Argon");
color_scheme = 'Tokyo Night';
window_decorations = 'RESIZE';
}
'';
};
};
}