17 lines
383 B
Nix
17 lines
383 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
fzf
|
|
];
|
|
|
|
environment.variables = {
|
|
FZF_ALT_C_OPTS = ''
|
|
--walker-skip .git,node_modules,target
|
|
--preview 'tree -C {}'
|
|
'';
|
|
FZF_COMPLETION_OPTS = "--border --info=inline";
|
|
FZF_COMPLETION_PATH_OPTS = "--walker file,dir,follow,hidden";
|
|
FZF_COMPLETION_DIR_OPTS = "--walker dir,follow";
|
|
};
|
|
}
|