zsh: added shell configurations

This commit is contained in:
Nico 2025-05-03 16:15:56 +10:00
parent 012b23bb1b
commit 04e2e47d76
2 changed files with 109 additions and 0 deletions

50
nix/modules/shell.nix Normal file
View file

@ -0,0 +1,50 @@
{ 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
];
};
}