nix/wrapZsh: add ability to add extraPackages, specifically for using fzf

This commit is contained in:
kossLAN 2025-04-21 14:19:09 -04:00
parent c17349b5d9
commit 15c3d6eae6
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
2 changed files with 16 additions and 7 deletions

View file

@ -15,6 +15,10 @@ in {
# Whether or not to enable auto suggestions
autoSuggestions = true;
extraPackages = with pkgs; [
fzf
];
# Additional .zshrc configuration that you can add that will be appended to the .zshrc
extraZshrc = ''
# Stupid thing broken in NixOS module I think
@ -24,6 +28,9 @@ in {
bindkey -v
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
# Special plugin cases
source <(fzf --zsh)
'';
# A list of path's to a plugin