dots/modules/shell.nix
2026-01-05 02:15:30 +11:00

45 lines
769 B
Nix

{ config, lib, pkgs, ...}:
{
programs.zsh.enable = true;
programs.zsh.promptInit = ( builtins.readFile ../stow/.zshrc );
programs.fish.enable = true;
environment.systemPackages = with pkgs; [
neovim
yazi
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 config.programs.fish.enable [
pkgs.fishPlugins.pure
] ++ 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;
};
}