diff --git a/configs/shared/.config/nixpkgs/home.nix b/configs/shared/.config/nixpkgs/home.nix index 2c6266c7a..63bdf047b 100644 --- a/configs/shared/.config/nixpkgs/home.nix +++ b/configs/shared/.config/nixpkgs/home.nix @@ -57,6 +57,11 @@ }; }; + programs.fzf = rec { + defaultCommand = "fd --hidden --follow --exclude '.git'"; + fileWidgetCommand = defaultCommand; + }; + ############################################################################## # Services ############################################################################## diff --git a/configs/shared/.profile b/configs/shared/.profile index b442aea27..63da222d0 100644 --- a/configs/shared/.profile +++ b/configs/shared/.profile @@ -29,10 +29,6 @@ export ALTERNATE_EDITOR=nvim # Rust integration. Keep here so programs like Emacs can read this value. export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src" -# Application configuration -export FZF_DEFAULT_COMMAND='fd --hidden --follow --exclude ".git"' -export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" - # This fixes nixpkgs that rely on glibc-2.27, which allegedly breaks locale # issues. # See this thread for more details: https://github.com/NixOS/nixpkgs/issues/8398