Files
nixos-config/modules/home/shell.nix
Mans Ziesel c147d679ff Add system-wide vim and tmux configuration
vim and tmux are now configured via programs.vim / programs.tmux so settings
apply to all users via /etc/vimrc and /etc/tmux.conf. Removes them from
systemPackages (installed by the modules) and drops the redundant
home-manager tmux block.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 17:14:13 +02:00

29 lines
612 B
Nix

{ ... }:
{
programs.bash = {
enable = true;
historyControl = [ "ignoredups" "erasedups" ];
shellAliases = {
ll = "ls -alF";
la = "ls -A";
gs = "git status";
gd = "git diff";
# Convenience wrappers for the flake.
nrs = "sudo nixos-rebuild switch --flake ~/nixos#pc-mans";
nrt = "sudo nixos-rebuild test --flake ~/nixos#pc-mans";
nfu = "nix flake update ~/nixos";
};
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
programs.fzf.enable = true;
# programs.bat.enable = true;
# programs.eza.enable = true;
}