dots/modules/shell.nix
2025-05-06 20:44:38 +10:00

40 lines
651 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
fastfetch
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;
};
}