forked from nico/dots
zsh: added shell configurations
This commit is contained in:
parent
012b23bb1b
commit
04e2e47d76
2 changed files with 109 additions and 0 deletions
50
nix/modules/shell.nix
Normal file
50
nix/modules/shell.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue