nix-config/modules/home-manager/shell/default.nix
2026-02-18 17:35:07 +01:00

46 lines
786 B
Nix

{
imports = [
./bat.nix
# ./fish.nix
./starship.nix
./zsh.nix
];
home = {
shellAliases = {
"deploy" = "ssh -t galanthus 'cd ~/.config/nix; git pull --rebase; nh os switch'";
"mv" = "mv -i";
"rm" = "trash";
"zz" = "z -";
};
## Add Tailscale cli to path
sessionPath = [ "/Applications/Tailscale.app/Contents/MacOS" ];
};
programs = {
atuin.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
config = {
warn_timeout = "1m";
hide_env_diff = true;
};
};
eza = {
enable = true;
git = true;
};
fd.enable = true;
ripgrep = {
enable = true;
arguments = [ "--ignore-case" ];
};
zoxide.enable = true;
};
}