diff --git a/nix/config.nix b/nix/config.nix index 6cf1fe2..35207a3 100644 --- a/nix/config.nix +++ b/nix/config.nix @@ -15,10 +15,6 @@ 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 @@ -30,7 +26,7 @@ in { bindkey "^[[1;5D" backward-word # Special plugin cases - source <(fzf --zsh) + source <(${lib.getExe pkgs.fzf} --zsh) ''; # A list of path's to a plugin diff --git a/nix/wrapZsh.nix b/nix/wrapZsh.nix index beebdc5..d35b437 100644 --- a/nix/wrapZsh.nix +++ b/nix/wrapZsh.nix @@ -58,7 +58,6 @@ in ''} $out/etc/zsh/.zshrc wrapProgram $out/bin/zsh \ - --prefix PATH : "${lib.makeBinPath conf.extraPackages}" \ --set ZDOTDIR "$out/etc/zsh" ''; }