dots/nix/modules/shell.nix

50 lines
698 B
Nix

{ config, lib, pkgs }:
{
programs.zsh.enable = true;
environment.systemPackages = with pkgs; [
git
tmux
tlrc
file
stow
btop
jq
fzf
killall
ripgrep
wget
ffmpeg
imagemagick
];
programs.direnv = {
enable = true;
silent = true;
loadInNixShell = true;
nix-direnv.enable = true;
direnvrcExtra = ''
export PROMPT="* $PROMPT"
'';
};
programs.neovim = {
enable = true;
vimAlias = true;
viAlias = true;
withRuby = true;
withPython3 = true;
withNodeJs = true;
};
neovim = pkgs.neovim.override {
nativeBuildInputs = with pkgs; [
cargo
nodejs
go
];
};
}