summaryrefslogtreecommitdiff
path: root/modules/basic-tools/fzf.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/basic-tools/fzf.nix')
-rw-r--r--modules/basic-tools/fzf.nix17
1 files changed, 4 insertions, 13 deletions
diff --git a/modules/basic-tools/fzf.nix b/modules/basic-tools/fzf.nix
index 8ad1b92..96ab39c 100644
--- a/modules/basic-tools/fzf.nix
+++ b/modules/basic-tools/fzf.nix
@@ -1,6 +1,4 @@
{
- lib,
- config,
pkgs,
...
}:
@@ -14,15 +12,8 @@
};
};
# integrate fzf into shell, >23.05 only
- programs =
- with lib;
- if (toInt (elemAt (splitVersion config.system.nixos.release) 0) >= 23) then
- {
- fzf = {
- keybindings = true;
- fuzzyCompletion = true;
- };
- }
- else
- { };
+ programs.fzf = {
+ keybindings = true;
+ fuzzyCompletion = true;
+ };
}