dots/modules/shell.nix
Nico 5f7a33b4c3 zsh: alias trash to rm
safer deletions now on darwin and linux
2025-05-03 16:34:35 +10:00

39 lines
637 B
Nix

{ config, lib, pkgs, ...}:
{
programs.zsh.enable = true;
programs.zsh.promptInit = ( builtins.readFile ../stow/.zshrc );
environment.systemPackages = with pkgs; [
neovim
git
zoxide
tlrc
file
stow
btop
jq
fzf
killall
ripgrep
wget
unzip
unar
bat
gcc # needed for nvim for some reason.
ffmpeg
imagemagick
] ++ lib.optionals pkgs.stdenv.isLinux [ pkgs.trash-cli ];
programs.tmux.enable = true;
documentation.man.enable = true;
programs.direnv = {
enable = true;
silent = true;
loadInNixShell = true;
nix-direnv.enable = true;
};
}