Add core configuration

This commit is contained in:
Nathan McCarty 2024-11-29 05:33:31 +00:00
parent 2f84d15c18
commit 23208659b1
2 changed files with 61 additions and 0 deletions

View file

@ -23,6 +23,7 @@
../../modules/programs/shell.nix
../../modules/programs/neovim.nix
(import ../../modules/programs/git.nix { })
../../modules/programs/core.nix
];
home.username = "nathan";
home.homeDirectory = "/home/nathan/";

View file

@ -0,0 +1,60 @@
{
config,
lib,
pkgs,
...
}:
{
home.packages = with pkgs; [
# Rust rewrites of cli stuff
fd
sd
du-dust
ripgrep
ripgrep-all
hyperfine
dogdns
duf
xcp
# Man but terse
tealdeer
# rsync
rclone
# General
file
tokei
gping
# Spell check
hunspell
hunspellDicts.en-us
# Cli markdown renderer
glow
# Better curl
httpie
# go with jq
jc
fx
];
programs.tmux = {
enable = true;
aggressiveResize = true;
keyMode = "vi";
shortcut = "x";
terminal = if pkgs.stdenv.isLinux then "tmux-256color" else "screen-256color";
escapeTime = 100;
plugins = with pkgs; [
tmuxPlugins.cpu
tmuxPlugins.jump
];
extraConfig = ''
set -ag terminal-overrides ",xterm-256color:RGB"
set-option -g status-interval 1
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}: #{pane_current_command}'
'';
};
programs.btop.enable = true;
programs.jq.enable = true;
}